Improve error message with the trigger early crash option

This way our logs are a bit more clear.
This commit is contained in:
Ghostkeeper 2018-02-06 16:10:58 +01:00
parent 99fe120bc2
commit 399a63912e
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -225,7 +225,7 @@ class CuraApplication(QtApplication):
# FOR TESTING ONLY
if kwargs["parsed_command_line"].get("trigger_early_crash", False):
1/0
assert not "This crash is triggered by the trigger_early_crash command line argument."
self.default_theme = "cura-light"