Redeploy call
Hi! I have a problem. Sometimes my server code gives me an error and the only way to fix it is to redeploy from railway the latest github version. Is there any way when I get this error, in the exception to make a call from the code to redeploy?
5 Replies
Project ID:
N/A
N/A
Why not just fix the error
I'm not getting it fixed. I need a patch while I fix it.
automatically re-deploying your container would be a bigger dev task than putting in a hotfix, no?
If you genuinely think not.
Add some error catching/a filter onto your service - whenever it fires the specific error, send an api request to railway to re-deploy and pass the error to the requester.
It still doesn't solve the issue - people will get the error for a little while. It's a pretty bad solution.