diff --git a/advlabdb/actions.py b/advlabdb/actions.py index 9489a79..6780900 100644 --- a/advlabdb/actions.py +++ b/advlabdb/actions.py @@ -31,7 +31,7 @@ def backup(backup_prefix): flash(f"Created a database backup at the path {dest}", "success") else: flash("Failed to create a database backup!", "danger") - except: + except Exception: flash("Failed to create a database backup! Make sure that `sqlite3` is installed on your system!", "danger")