Skip to content

Commit 5fd10c4

Browse files
committed
Return message when converting EasyBuildError to string
This ensures any formatting like newlines is kept.
1 parent 4ca469a commit 5fd10c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/build_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, msg, *args, exit_code=EasyBuildExit.ERROR, **kwargs):
139139

140140
def __str__(self):
141141
"""Return string representation of this EasyBuildError instance."""
142-
return repr(self.msg)
142+
return self.msg
143143

144144

145145
def raise_easybuilderror(msg, *args):

0 commit comments

Comments
 (0)