[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:
@@ -173,7 +173,7 @@ async def get_key_type(
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
except:
|
||||
except Exception:
|
||||
raise
|
||||
raise HTTPException(
|
||||
status_code=HTTPStatus.NOT_FOUND, detail="Wallet does not exist."
|
||||
|
||||
Reference in New Issue
Block a user