Skip to content

Commit 16c7f7a

Browse files
committed
Attempting to fix brannondorsey#3
1 parent fa292b3 commit 16c7f7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pastebin-mirror/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ def main():
161161
print("[!] Error writing to flat file storage location: {}".format(e.strerror), file=sys.stderr)
162162
print("[!] Fatal error. Exiting...", file=sys.stderr)
163163
sys.exit(1)
164+
except Exception as e:
165+
print("[!] Error caught: {}".format(e))
164166
time.sleep(1)
165167

166168
if __name__ == '__main__':

0 commit comments

Comments
 (0)