diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 648d0ca..43f39e9 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1035,7 +1035,7 @@ class Question(models.Model): new_test_case.type = test_case_type new_test_case.save() - except: + except Exception: msg = "File not correct." except Exception as exc_msg: msg = "Error Parsing Yaml: {0}".format(exc_msg) |