Sam
Sam

Reputation: 53

What should I do to view php errors in App engine?

I created a project and deployed an app created php72 app engine. As I cannot run php72 apps locally I'm trying to develop the app by deploying the each change.

My issue is when there is an error in the cloud app it doesn't show the error to front end. So how can I access the error log? It just stop the script from there.

Even I use a try catch and echo the $e-getMessage(), it's same.

Can anyone help me with this?

Also I checked Stackdriver logging. But there is no error logged.

Can anyone help me with this please?

Upvotes: 2

Views: 122

Answers (1)

John Hanley
John Hanley

Reputation: 81336

App Engine logs errors and messages to Stackdriver. You will be able to see the output in the Google Cloud Console under StackDriver -> App Engine.

Upvotes: 1

Related Questions