Updated to print stacktrace in event of error
This commit is contained in:
parent
af2e4df3dc
commit
0e7f9d1ffa
@ -25,6 +25,7 @@ import FediBot
|
||||
import importlib
|
||||
import magic
|
||||
import copy
|
||||
import traceback
|
||||
|
||||
class FileTooLarge(Exception):
|
||||
pass
|
||||
@ -192,6 +193,8 @@ class YandereBot(FediBot.YandereBot):
|
||||
# Other Exceptions
|
||||
except Exception as e:
|
||||
print("Unhandled exception", e)
|
||||
traceback.print_exc()
|
||||
print("-"*80)
|
||||
|
||||
self.handle_post_exception()
|
||||
|
||||
|
Reference in New Issue
Block a user