ISIL-ESTE / Student-Workflow-Organizer

The Workflow Organizer website helps students to organize their academic workload through features such as a dashboard, timeline, reminders, collaboration tools, resource library, progress tracking, and analytics. It also allows users to share and summarize courses and seek project help.
MIT License
46 stars 21 forks source link

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

Open bellaabdelouahab opened 8 months ago

bellaabdelouahab commented 8 months ago

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/

muttaqin1 commented 8 months ago

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