Unitech / Unitech/pm2

pm2@3.3.1 not support "uncaughtException"? Is this an exception or something else?

Open
#4,176 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T: Bug
Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

I used 'pm2@3.2.9' earlier, which supports' uncaughtException '. The node program has no abnormal exit and restart

However, now I use 'pm2@3.3.1', it seems that it does not support 'uncaughtException ', and the node program is restarted after the abnormal exit

My English is not good, with the help of translation software translation, please forgive me

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source file, test, or entry point. Start by reproducing the uncaughtException behavior with pm2@3.2.9 and pm2@3.3.1, then identify the relevant process-management path and add a regression test showing whether the process should restart or remain running.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.