Skip to content

UnhandledPromiseRejectionWarning: Unhandled promise rejection #19

@GabLeRoux

Description

@GabLeRoux
? Select what you desire patch
(node:54883) UnhandledPromiseRejectionWarning: Error: From gitlab.com/<snip>
 ! [rejected]        v1.0.0     -> v1.0.0  (would clobber existing tag)

    at Object.action (/Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js:30:33)
    at PluginStore.exec (/Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/plugins/plugin-store.js:21:33)
    at /Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/runners/git-executor-chain.js:95:45
    at new Promise (<anonymous>)
    at GitExecutorChain.handleTaskData (/Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/runners/git-executor-chain.js:93:16)
    at GitExecutorChain.<anonymous> (/Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/runners/git-executor-chain.js:77:46)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/gableroux/.npm-packages/lib/node_modules/@gableroux/git-bump/node_modules/simple-git/src/lib/runners/git-executor-chain.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54883) 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: 2)
(node:54883) [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.
node --version
v14.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions