Skip to content

Commit 7ecf953

Browse files
committed
Return message when converting EasyBuildError to string
This ensures any formatting like newlines is kept.
1 parent a91526b commit 7ecf953

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
@@ -140,7 +140,7 @@ def __init__(self, msg, *args, exit_code=EasyBuildExit.ERROR, **kwargs):
140140

141141
def __str__(self):
142142
"""Return string representation of this EasyBuildError instance."""
143-
return repr(self.msg)
143+
return self.msg
144144

145145

146146
def raise_easybuilderror(msg, *args):

0 commit comments

Comments
 (0)