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
In my case cause has no message property, but in has error property which I think conforms with docker spec here if you look at the example.
At the same time there is an error section that states it should be a 'message' field.
Would it be possible to support both 'message' and 'error' fields? With 'message' being the first choice, 'error' the second and the cause itself for a backup.
(cause.message || cause.error || cause)
The text was updated successfully, but these errors were encountered:
dgolovin
changed the title
If image.push() call encounters server error the error message is Error: (HTTP code 500) server error - [object Object]image.push() return server error as Error: (HTTP code 500) server error - [object Object]May 3, 2024
dgolovin
changed the title
image.push() return server error as Error: (HTTP code 500) server error - [object Object]
'image.push()' returns server error as 'Error: (HTTP code 500) server error - [object Object]'
May 3, 2024
The message is not really helpful to understand what has happened. It is generated here
docker-modem/lib/modem.js
Line 385 in 049e1aa
In my case cause has no
message
property, but in haserror
property which I think conforms with docker spec here if you look at the example.At the same time there is an error section that states it should be a 'message' field.
Would it be possible to support both 'message' and 'error' fields? With 'message' being the first choice, 'error' the second and the cause itself for a backup.
The text was updated successfully, but these errors were encountered: