mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
server: update HTTP exception errors in log line for Triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9738 GitOrigin-RevId: cece764a6fa087958675077c8420e9478d419e8e
This commit is contained in:
parent
d6cb5bff4a
commit
d32ae8ea05
@ -108,7 +108,7 @@ data HTTPErr (a :: TriggerTypes)
|
||||
instance J.ToJSON (HTTPErr a) where
|
||||
toJSON err = toObj $ case err of
|
||||
(HClient httpException) ->
|
||||
("client", J.toJSON httpException)
|
||||
("client", getHttpExceptionJson (ShowErrorInfo True) httpException)
|
||||
(HStatus resp) ->
|
||||
("status", J.toJSON resp)
|
||||
(HOther e) -> ("internal", J.toJSON e)
|
||||
|
Loading…
Reference in New Issue
Block a user