aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar FrenchMasterSword <[email protected]>2019-01-05 23:21:42 +0100
committerGravatar FrenchMasterSword <[email protected]>2019-01-05 23:21:42 +0100
commite0897757a728a408d0d7291b6f01041305fbdbd5 (patch)
tree71f316934ed73fae0ef0fa855092e7271db6e443
parentRaised exception now returns full traceback. (diff)
Exception doesn't need to be accessed
-rw-r--r--bot/cogs/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py
index 1be524c1e..7ec503686 100644
--- a/bot/cogs/snekbox.py
+++ b/bot/cogs/snekbox.py
@@ -29,7 +29,7 @@ exec(open(venv_file).read(), dict(__file__=venv_file))
try:
{CODE}
-except Exception as e:
+except:
import traceback
print(traceback.format_exc(), end='')
"""