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

Analyse pipeline does not fail properly #53

Open
rmelisson opened this issue Jul 1, 2020 · 1 comment
Open

Analyse pipeline does not fail properly #53

rmelisson opened this issue Jul 1, 2020 · 1 comment

Comments

@rmelisson
Copy link
Collaborator

rmelisson commented Jul 1, 2020

Show success despite failure :

$ node dist/index.js
 info: Running analysis
 (node:106) UnhandledPromiseRejectionWarning: ResponseError: Response Error
     at IncomingMessage.<anonymous> (/builds/SocialGouv/cdtn-monolog/dist/index.js:51593:25)
     at IncomingMessage.emit (events.js:327:22)
     at endReadableNT (_stream_readable.js:1224:12)
     at processTicksAndRejections (internal/process/task_queues.js:84:21)
 (Use `node --trace-warnings ...` to show where the warning was created)
 (node:106) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
 (node:106) [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.
 info: 3 batches to insert
 info: Done
Running after_script
00:01
Saving cache
00:01
Uploading artifacts for successful job
00:01
 Job succeeded

https://gitlab.factory.social.gouv.fr/SocialGouv/cdtn-monolog/-/jobs/689213

@lionelB
Copy link
Contributor

lionelB commented Jul 1, 2020

regarde du coté de fetch

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

No branches or pull requests

2 participants