10 months ago
my project is deployed but after seconds its showing crashed and after restart it again shows deployed sucessfully .
3 Replies
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 discord bot deployment only crashes in Railway
- 🧵 Deployment failing after adding a new service to existing project
- 🧵 SMTP Issue After Deployment
- 🧵 App won't start after deployment
If you find the answer from one of these, please let us know by solving the thread!
10 months ago
Add global error handling to prevent crashes.
process.on('uncaughtException', (err) => {
console.error('Uncaught Exception:', err);
// Optionally, gracefully shut down or log to a monitoring service
});
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
});
9 months ago
Hey there!
Is there any information that we can get on your project? Would love some information.