Skip to content

Commit

Permalink
Update model_splitter_dialog.py
Browse files Browse the repository at this point in the history
Error handling for #103
  • Loading branch information
DanielTollenaar committed Oct 25, 2023
1 parent 705ca60 commit 7d9e66a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def create_schematisations(self):
try:
self.modelschematisations.create_schematisation(name=list_name)
except Exception as e:
self.info_list.addItem(f"ERROR: {str(e)}")
self.info_list.addItem(f"{type(e).__name__}: {str(e)} (view Python error log for more info)")
update_button_background(button=self.run_splitter_btn, color="red")

raise e
Expand Down

0 comments on commit 7d9e66a

Please sign in to comment.