Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Debug headers missing in case of a 500 #273

Open
kptdobe opened this issue Jan 9, 2020 · 1 comment
Open

Debug headers missing in case of a 500 #273

kptdobe opened this issue Jan 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@kptdobe
Copy link
Contributor

kptdobe commented Jan 9, 2020

Trickiest part is that the HTML action should fire a 500. I assume putting a throw new Error() in the pre.js should do the trick but I did not test it.

  • Ensure that page renders a 500 from Fastly.
  • Enable the X-Debug hearder with the corresponding service id.

-> 50% of the debug headers are missing compared to a working page. And a key header like x-openwhisk-activation-id is missing which is crucial for debugging in that case...

@kptdobe kptdobe added the bug Something isn't working label Jan 9, 2020
@trieloff
Copy link
Contributor

trieloff commented Jan 9, 2020

I think this is a helix-dispatch issue. If the html action returns an error 500, the standard fallback processing comes into place, which delivers the 404.html page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants