What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

hello, happy new year, I have two issues, don't know if those are connected: β€’ something seems to be

U01G4K5E0J2
U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

hello, happy new year,
I have two issues, don't know if those are connected:
β€’ something seems to be wrong with how application handles HttpExceptions, beacause when NotFoundHttpException is thrown response code is 500 instead of 404,
β€’ symfony profiler bundle is not working, /_wdt results in 500 (should be 404) because no route is found
Anyone experienced similiar issues?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Second one is known and the fix is on its way.

  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 πŸ§‘πŸ»β€πŸš€ - Cadet

    I see, thank you

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi. Regarding the first one: we’d need detail of where the NotFoundHttpException originates from. Typically I would expect that not-found===404, so the code that throws NotFoundHttpException with status 500 is clearly wrong.

    The error handler does handle only 404, not 500 ootb. So I’d be careful there too.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice