X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=blobdiff_plain;f=automanga;fp=automanga;h=01710e481693214847d97ba3e2a6a51aef7fc8da;hp=f2281dfbe646f1d281068a329f4ea5a5c4df89a9;hb=30de450b848129912074e63adc019ea383cdefbd;hpb=8eb3c44efac5c567ad08eab3b0abee487e2d4fc3 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