diff options
-rwxr-xr-x | firstaidkit | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/firstaidkit b/firstaidkit index a32c3ea..f266f1f 100755 --- a/firstaidkit +++ b/firstaidkit @@ -333,16 +333,21 @@ if __name__=="__main__": try: singlerun.run() + except InvalidPluginNameException, ipne: print(ipne) + except Exception, e: - print("!!! Impossible happened!! The First Aid Kit crashed in " - "very unsafe way.\n!!! Please report this to the authors " - "along with the following message. You can create a ticket " - "at https://fedorahosted.org/firstaidkit/newticket\n\n") + # This is when an unexpected exception occurs. This usally + # means there is a bug somewhere. + print("!!! The First Aid Kit crashed in very unsafe way.\n!!! " + "Please report this to the authors along with the " + "following message. You can create a ticket at " + "https://fedorahosted.org/firstaidkit/newticket\n\n") Config.write(sys.stdout) print("Description of the error:\nError message:%s\n " \ "Error class %s"% (e, e.__class__)) + finally: singlerun.end() |