Deployment keeps crashing

Hi there, so over the last 2 weeks my deployments have started to crash a lot (goes up, dies, restarts, etc). I have auto restart on. It seems to be happening after my deploymnent receives any type of error really, it would just crash after some time. What's weird though is that these errors don't come attached with a process.exit.....is there any solution?
3 Replies
Percy
Percy2w ago
Project ID: a05eddb7-0065-4c43-b572-4541d66adf5a
bereket
bereketOP2w ago
a05eddb7-0065-4c43-b572-4541d66adf5a Love Railway btw. Happy customer.
Brody
Brody2w ago
What's weird though is that these errors don't come attached with a process.exit
They do, copied from your logs -
error: script "start" exited with code 1
error: script "start" exited with code 1
And your service finally crashes after exiting 10 times, per your service settings. The correct solution here would be to properly handle these errors so that they don't cause the program to exit.
Want results from more Discord servers?
Add your server