Skip to content

Commit 01d15aa

Browse files
committed
Fix Abort exceptions handling in python3
1 parent cc8db44 commit 01d15aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cinnabar/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ def run(func, args):
937937
except Abort as e:
938938
# These exceptions are normal abort and require no traceback
939939
retcode = 1
940-
logging.error(e.message)
940+
logging.error(str(e))
941941
except Exception as e:
942942
# Catch all exceptions and provide a nice message
943943
retcode = 70 # Internal software error

0 commit comments

Comments
 (0)