fix: clearer error reporting

This commit is contained in:
2026-08-21 17:02:06 +08:00
parent 7d670eee21
commit 83a3d9a10c
+1 -1
View File
@@ -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)