Replace the generic exception class with a more specific one.

This commit is contained in:
Aditya Toshniwal authored and Akshay Joshi committed 2020-08-07 12:37:00 +05:30
1 parent 68a5027d15
commit d6400bbcae
18 files changed
+46 -34

No files matched your search

@@ -44,7 +44,7 @@ class CheckDebuggerForXssFeatureTest(BaseFeatureTest):
if test_utils.does_function_exist(self.server, self.test_db,
self.function_name) != 'True':
raise Exception("The required function is not found")
raise RuntimeError("The required function is not found")
def runTest(self):
self.page.wait_for_spinner_to_disappear()