added json decode error to expected errors
This commit is contained in:
1 parent
4397403fe8
commit
3768b7442d
1 file changed
+2
@@ -1,5 +1,6 @@
|
||||
import asyncio
|
||||
import pathlib
|
||||
from json import JSONDecodeError
|
||||
|
||||
import aiohttp
|
||||
import requests
|
||||
@@ -59,4 +60,5 @@ EXPECTED_TASK_ERRORS = (
|
||||
requests.Timeout,
|
||||
requests.HTTPError,
|
||||
PyMongoError,
|
||||
JSONDecodeError,
|
||||
)
|
||||
Reference in new issue
Block a user