mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-15 01:57:45 +02:00
control plane: add request id to all error pages (#2149)
* controlplane: add request id to all error pages - use a single http error handler for both envoy and go control plane - add http lib style status text for our custom statuses. Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
91c7dc742f
commit
9215833a0b
7 changed files with 126 additions and 136 deletions
|
@ -24,8 +24,17 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="category-link">
|
||||
{{if and .CanDebug .DebugURL }}
|
||||
If you should have access, contact your administrator with your <a href="{{.DebugURL}}">session details</a>.
|
||||
{{if .CanDebug}}
|
||||
If you should have access, contact your administrator with your
|
||||
{{if .RequestID }}
|
||||
request id {{.RequestID}}
|
||||
{{end}}
|
||||
{{if and .RequestID .DebugURL }}
|
||||
and
|
||||
{{end}}
|
||||
{{if .DebugURL }}
|
||||
<a href="{{.DebugURL}}">session details</a>.
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue