1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router/container
Boaz Shuster 8f65bb6d90 Add a debug message when client closes websocket attach connection
When the client closes websocket connections that sends container
output through websocket, an error message is displayed:
"Error attaching websocket: %!s(<nil>)"

This message is misleading. Thus, this change suggests to check
if error is nil and print the correct message accordingly.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-12-06 16:57:41 +02:00
..
backend.go Add interfacer linter 2017-08-24 15:08:26 -04:00
container.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
container_routes.go Add a debug message when client closes websocket attach connection 2017-12-06 16:57:41 +02:00
copy.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
exec.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
inspect.go fix typos in several files 2016-03-18 12:51:57 +08:00