docker-hs icon indicating copy to clipboard operation
docker-hs copied to clipboard

Expose verbose error messages from Docker API

Open SKoschnicke opened this issue 7 years ago • 3 comments

Currently, only the HTTP status code and the standard HTTP description for this code is returned on API errors. But the Docker API also always returns some JSON with a message attribute holding a more verbose description of the error which occurred. This description would be helpful for debugging and should also be returned in the DockerError structure.

SKoschnicke avatar Oct 30 '17 19:10 SKoschnicke

@SKoschnicke I agree that this would be very useful. Do you want to try and take a stab at this?

denibertovic avatar Nov 01 '17 11:11 denibertovic

Yes, but I'm not sure if I find time for this in the next days. If someone wants to work on this before me, he/she could comment here and start with it. Otherwise, I will add a notice as soon as I get to it.

SKoschnicke avatar Nov 01 '17 12:11 SKoschnicke

That is fine, I'm a bit swamped currently as well. But lets coordinate here.

denibertovic avatar Nov 01 '17 13:11 denibertovic