Check unhandled exception

This commit is contained in:
huchenlei 2024-07-09 17:00:27 -04:00
parent 2c49f65e42
commit cac15fabc2

View File

@ -55,6 +55,13 @@ jobs:
- name: Run Playwright tests
run: npx playwright test
working-directory: ComfyUI_frontend
- name: Check for unhandled exceptions in server log
run: |
if grep -qE "Exception|Error" console_output.log; then
echo "Unhandled exception/error found in server log."
exit 1
fi
working-directory: ComfyUI
- uses: actions/upload-artifact@v4
if: always()
with: