You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet if i code node_modules/transloadit/ to manually dump the body when this happens, I can see the API does reveal more about the nature of my fail:
{body: {error: 'TEMPLATE_VALIDATION_ERROR',message: "Invalid id/name: A Template with id/name 'xyz' doesn't exist for this app.",http_code: 400}}
TLDR:
Would be cool to add body.message to the error that the consuming dev sees. Also gotswallows async stack traces. we might want to move off got. See #199
The text was updated successfully, but these errors were encountered:
if i make a mistake updating a Template that in fact does not exist, i only see:
I don’t know why it failed.
Yet if i code
node_modules/transloadit/
to manually dump the body when this happens, I can see the API does reveal more about the nature of my fail:TLDR:
Would be cool to add
body.message
to the error that the consuming dev sees. Alsogot
swallows async stack traces. we might want to move offgot
. See #199The text was updated successfully, but these errors were encountered: