always keep exception chains

This commit is contained in:
Alexander Graf committed 2021-03-20 17:17:08 +01:00
1 parent f70355e803
commit 08eaa7d474
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -459,7 +459,7 @@ def main():
storyitem_filter_str=args.storyitem_filter)
loader.close()
except InstaloaderException as err:
raise SystemExit("Fatal error: %s" % err)
raise SystemExit("Fatal error: %s" % err) from err
if __name__ == "__main__":