fix: clearer error reporting
This commit is contained in:
@@ -283,7 +283,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')):
|
|||||||
except (IndexError, KeyError):
|
except (IndexError, KeyError):
|
||||||
logger.info('Done')
|
logger.info('Done')
|
||||||
status = Status.READY
|
status = Status.READY
|
||||||
if errors: logger.error('One or more errors occurred at:\n\n%s' % ', '.join(errors))
|
if errors: logger.error('Operation failed at:\n\n%s' % ', '.join(errors))
|
||||||
continue
|
continue
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
logger.error("Invalid profile '%s'", name)
|
logger.error("Invalid profile '%s'", name)
|
||||||
|
|||||||
Reference in New Issue
Block a user