Compare commits

...

2 Commits

Author SHA1 Message Date
dgtlmoon
575df972a4 Merge branch 'master' into 2118-fix-missing-arg 2024-02-06 14:49:34 +01:00
dgtlmoon
f1babbac33 Re #2118 fix missing default var 2024-02-06 13:05:21 +01:00

View File

@@ -53,7 +53,7 @@ class BrowserStepsStepException(Exception):
# @todo - make base Exception class that announces via logger()
class PageUnloadable(Exception):
def __init__(self, status_code, url, message, screenshot=False):
def __init__(self, status_code=None, url='', message='', screenshot=False):
# Set this so we can use it in other parts of the app
self.status_code = status_code
self.url = url