Skip to content

Commit e4cff7c

Browse files
authored
Fix ignore error when run auto capture screenshot (#29)
1 parent f640e49 commit e4cff7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PuppeteerLibrary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def run_keyword(self, name, args, kwargs):
193193

194194
def failure_occurred(self):
195195
try:
196-
BuiltIn().run_keyword(self.run_on_failure_keyword)
196+
BuiltIn().run_keyword_and_ignore_error(self.run_on_failure_keyword)
197197
except Exception as err:
198198
logger.warn("Keyword '%s' could not be run on failure: %s"
199199
% (self.run_on_failure_keyword, err))

0 commit comments

Comments
 (0)