Skip to content

Commit

Permalink
Added debug log message indicating failed to open url.
Browse files Browse the repository at this point in the history
  • Loading branch information
emanlove committed Jan 8, 2014
1 parent 7ad56e9 commit c7769a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Selenium2Library/keywords/_browsermanagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ def open_browser(self, url, browser='firefox', alias=None,remote_url=False,
browser.get(url)
except:
self._cache.register(browser, alias)
self._debug("Opened browser with session id %s but failed to open url '%s'"
% (browser.session_id, url))
raise
self._debug('Opened browser with session id %s'
% browser.session_id)
Expand Down

0 comments on commit c7769a8

Please sign in to comment.