Skip to content

Commit

Permalink
Fix exception handling in startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed Aug 23, 2013
1 parent c215ae3 commit 6f8f1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spread
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if __name__ == '__main__':
print(colorama.Fore.RED +
"You are missing a dependency for one of your enabled plugins:")
print(colorama.Fore.RED + e.message)

except Exception as e:
typ, val, tb = sys.exc_info()
print(colorama.Fore.RED + "spreads encountered an error:")
print(colorama.Fore.RED +
"".join(traceback.format_exception(typ, val, tb)))
Expand Down

0 comments on commit 6f8f1eb

Please sign in to comment.