Predeploy Failed but no error logs
matthew-cameron1
PROOP

5 months ago

Hey! Just noticed that when preDeployCommand fails (in this case I am running db migrations) I am not getting an error log as to what error occurred in the console. This is a big issue currently as we can't figure out whats causing the failure when build is succeeding and currently cant deploy the updates.

14 Replies

brody
EMPLOYEE

5 months ago

Link to the service in question, please.



matthew-cameron1
PROOP

5 months ago

Looks like there is a similar / open thread here:



brody
EMPLOYEE

5 months ago

I see deploy logs?



matthew-cameron1
PROOP

5 months ago

but then doesn't show me any additional details


matthew-cameron1
PROOP

5 months ago

So I have no idea why my bun x drizzle-kit migrate is failing


matthew-cameron1
PROOP

5 months ago

Confirmed it isn't a schema issue, as I was able to manually apply the migration


brody
EMPLOYEE

5 months ago

You can click through to the deploy logs to see the logs for the failed pre-deploy command.


brody
EMPLOYEE

5 months ago

Since there isn't anything sensitive, here are the logs.

1417698334591684780


matthew-cameron1
PROOP

5 months ago

There's no stacktrace or anything?


matthew-cameron1
PROOP

5 months ago

Thought for sure that would propagate something more


brody
EMPLOYEE

5 months ago

If there is no stack trace, the application didn't print one. You would have to turn on verbose logging, but I'm not sure how you would do that with Drizzle.


Loading...