Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs error do not set a non-zero exit-code #34

Open
staabm opened this issue Jul 7, 2022 · 0 comments · May be fixed by #36
Open

Nodejs error do not set a non-zero exit-code #34

staabm opened this issue Jul 7, 2022 · 0 comments · May be fixed by #36

Comments

@staabm
Copy link
Contributor

staabm commented Jul 7, 2022

Built which error with

(node:1) UnhandledPromiseRejectionWarning: YAMLException: bad indentation of a mapping entry at line 9, column 2:
[542](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:543)
     ogImage:
[543](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:544)
     ^
[544](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:545)
    at generateError (/usr/local/src/generate-og-image/dist/index.js:28145:10)
[545](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:546)
    at throwError (/usr/local/src/generate-og-image/dist/index.js:28151:9)
[546](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:547)
    at readBlockMapping (/usr/local/src/generate-og-image/dist/index.js:29085:7)
[547](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:548)
    at composeNode (/usr/local/src/generate-og-image/dist/index.js:29337:12)
[548](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:549)
    at readDocument (/usr/local/src/generate-og-image/dist/index.js:29497:3)
[549](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:550)
    at loadDocuments (/usr/local/src/generate-og-image/dist/index.js:29553:5)
[550](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:551)
    at Object.load (/usr/local/src/generate-og-image/dist/index.js:29574:19)
[551](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:552)
    at parse (/usr/local/src/generate-og-image/dist/index.js:6512:27)
[552](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:553)
    at Object.extractor [as default] (/usr/local/src/generate-og-image/dist/index.js:6495:12)
[553](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:554)
    at /usr/local/src/generate-og-image/dist/index.js:61147:54
[554](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:555)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[555](https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true#step:4:556)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Do not set a proper exit-code and therefore the action is considered successful, even though it failed

https://github.com/staabm/staabm.github.io/runs/7235660879?check_suite_focus=true

@staabm staabm linked a pull request Jul 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant