API Errors: Hide and log internal errors (#411)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-09-23 08:10:27 -07:00
1 parent ac9a7735e1
commit 2f8d7f0a32
27 files changed
+1465 -1205

No files matched your search

+1
View File
@@ -4,5 +4,6 @@ package api
type ErrorDetails struct {
TraceId string `json:"TraceId,omitempty"`
RequestId string `json:"request_id,omitempty"`
ErrorId string `json:"error_id,omitempty"`
RequestFields []*FieldError `json:"request_fields,omitempty"`
}