bonjr
Deployment and logging issues (Maven)
Hello,
My program is running fine locally, but when I deploy it with Railway, I start seeing issues. I think the issue is primarily with grabbing the environment or database variable.
The reason I think it's some database/environment issue is because the logs on Railway says:
So it would appear that this part from main function around the JDA part is having issues:
I have double checked that the TOKEN variable is the same locally and on the Postgres database, so the issue is not the token itself.
I can't seem to figure out what is wrong. And also, how can I use the deploy log to my advantage for debugging? Locally, sometimes i'll just do System.out.println to check variables, etc., but this does not show up in the deploy logs.
88 replies