DTX's avatar
Level 1

Application sometimes goes 500 error without giving any callback.

I'm using Angular2 + Lumen. And sometimes queries from angular fail with 500 error and no description provided.

APP_DEBUG=true in .env

In the error cases i can see stack trace and other details, but there is only "Whoops. something went wrong".

And if i click "Replay XHR" it passes 200. How to get debug info? Or what am i doing wrong?

Here is a gif:

http://i.imgur.com/TOb7tOD.mp4

You can see same headers on both requests, but 1st fails and other passes.

Thx

0 likes
1 reply
DTX's avatar
DTX
OP
Best Answer
Level 1

DOTENV on windows with OpenServer sometimes doesnt load all env variables. But why there were no debug info is still a secret for me. I think its a buggy OpenServer.

Please or to participate in this conversation.