[CHORE] E722 bare exception fix (#1871)
* [CHORE] E722 bare exception fix remove all bare exceptions from codebase and change it in `.flake8`
This commit is contained in:
@@ -73,7 +73,7 @@ class SparkWallet(Wallet):
|
||||
|
||||
try:
|
||||
data = r.json()
|
||||
except:
|
||||
except Exception:
|
||||
raise UnknownError(r.text)
|
||||
|
||||
if r.is_error:
|
||||
|
||||
Reference in New Issue
Block a user