Show JSON decode errors to users

Fixes #431
This commit is contained in:
rubenwardy 2023-08-20 23:17:54 +01:00
parent 1b5174621d
commit bb719ad844

@ -69,6 +69,8 @@ def get_meta(urlstr, author):
result[key] = value result[key] = value
except LogicError as e: except LogicError as e:
raise TaskError(e.message) raise TaskError(e.message)
except JSONDecodeError as e:
raise TaskError("Whilst reading .cdb.json: " + str(e))
except IOError: except IOError:
pass pass