Skip to content

Commit 0d9a6b7

Browse files
junzero741claude
andcommitted
debug: add error logging to railway start command
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 87afb94 commit 0d9a6b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

railway.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
dockerfilePath = "apps/backend/Dockerfile"
33

44
[deploy]
5-
startCommand = "npx prisma migrate deploy && node main.js"
5+
startCommand = "npx prisma migrate deploy && node -e \"try { require('./main.js') } catch(e) { console.error(e); process.exit(1) }\""
66
restartPolicyType = "ON_FAILURE"

0 commit comments

Comments
 (0)