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

(JS-0263) Detected the use of process.exit() #160

Open
bellaabdelouahab opened this issue Dec 27, 2023 · 1 comment
Open

(JS-0263) Detected the use of process.exit() #160

bellaabdelouahab opened this issue Dec 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bellaabdelouahab
Copy link
Member

Description

The process.exit() method in Node.js is used to immediately stop the Node.js process and exit. This is a dangerous operation because it can occur in any method at any point in time, potentially stopping a Node.js application completely when an error occurs. For example:

Occurrences

There are 4 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/bellaabdelouahab/S-W-O/issue/JS-0263/occurrences/

@bellaabdelouahab bellaabdelouahab added the bug Something isn't working label Dec 27, 2023
@bellaabdelouahab bellaabdelouahab moved this from 🆕 New to 📋 Backlog in Student-Workflow-Organizer Jan 8, 2024
@muttaqin1
Copy link
Collaborator

so what can we do if something bad happens?
don't we have to restart the server because the server will be down?
@bellaabdelouahab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants