Bug fix - fix missing default var (#2162/ #2118/ #2122 )

pull/2168/head
dgtlmoon 3 months ago committed by GitHub
parent 72c7645f60
commit 78a2dceb81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save