diff --git a/run.py b/run.py index efdc76a..2cc8458 100644 --- a/run.py +++ b/run.py @@ -16,6 +16,7 @@ # # #################################### + import sys import subprocess @@ -26,6 +27,7 @@ import subprocess # We probably need the following modules. from settings import settings from settings import talk +from troubleshooter import error_notify # Before we launch anything let's troubleshoot the bastard if not settings.read("VCStudio-is-good")\ @@ -94,6 +96,13 @@ if len(sys.argv) > 1: else: from project_manager import pm_gtk - pm_gtk.run() + + # Some errors could happen while the program is running. Some things to + # notify the user should be implemented. + + try: + pm_gtk.run() + except: + error_notify.show() # Yeah. Now it looks better.