From 30de450b848129912074e63adc019ea383cdefbd Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Tue, 19 Apr 2022 19:34:59 +0200 Subject: [PATCH] automanga: Handle tag-list failures more gracefully. --- automanga | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automanga b/automanga index f2281df..01710e4 100755 --- a/automanga +++ b/automanga @@ -81,6 +81,9 @@ def main(): except KeyError: sys.stderr.write("%s %s: no longer found\n" % (mprof.libnm, mprof.id)) continue + except Exception as exc: + sys.stderr.write("%s %s: unexpected error: %s\n" % (mprof.libnm, mprof.id, str(exc))) + continue sys.stdout.write("%s %s: \"%s\"\n" % (mprof.libnm, mprof.id, mng.name)) return -- 2.11.0