fix: clearer error reporting
This commit is contained in:
@@ -283,7 +283,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')):
|
||||
except (IndexError, KeyError):
|
||||
logger.info('Done')
|
||||
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
|
||||
except StopIteration:
|
||||
logger.error("Invalid profile '%s'", name)
|
||||
|
||||
Reference in New Issue
Block a user