diff options
Diffstat (limited to 'margfools')
| -rwxr-xr-x | margfools | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,7 +8,6 @@ import os import pathlib import subprocess import sys -import traceback import urllib.parse import getpass @@ -109,6 +108,6 @@ if __name__ == '__main__': if not r.text: break request |= json.loads(r.text) - except: - traceback.print_exc() + except Exception as ex: + print(ex, file=sys.stderr) input('press enter to exit') # don’t close terminal immediately on fail |
