[odrs-web/oscp] Widening the exception class for debugging purposes
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Widening the exception class for debugging purposes
- Date: Tue, 13 Nov 2018 14:24:52 +0000 (UTC)
commit 8cf6e4a70aa5a5e05d1ea7eb1b69eb8429bcc3ab
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 15:24:44 2018 +0100
Widening the exception class for debugging purposes
app_data/app/views_admin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app_data/app/views_admin.py b/app_data/app/views_admin.py
index 956e58a..f2a6672 100644
--- a/app_data/app/views_admin.py
+++ b/app_data/app/views_admin.py
@@ -411,7 +411,7 @@ def admin_show_unmoderated():
try:
db = get_db()
reviews_all = db.reviews.get_all()
- except CursorError as e:
+ except Exception as e:
return _error_internal(str(e))
user_hash = _get_hash_for_user(current_user)
if not user_hash:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]