mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Tests - Correct use of non-existent exception
This commit is contained in:
parent
ef583dedea
commit
880ab5d665
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def json_decoder(string):
|
|||
|
||||
try:
|
||||
return decoder(string)
|
||||
except json.JSONDecodeError as e:
|
||||
except ValueError as e:
|
||||
return InvalidJSON(string, str(e))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue