Skip to content

Commit

Permalink
Fix bare exception test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Oct 9, 2024
1 parent e417062 commit c7b9ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/serdes/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def post(self, request, *args, **kwargs):
"knox.authtoken",
],
)
except:
except Exception:
with open(SQLITE_FILE, "wb") as database_file:
database_file.write(database_recover_data)

Expand Down

0 comments on commit c7b9ba2

Please sign in to comment.