buildx/monitor
Kohei Tokunaga 437fe55104
monitor: improve error messages
Print more understandable messages on error:

- When ps fails because the monitor doesn't attach to any session, print "no
  attaching session" instead of "unknown ref".
- Avoid disconnect silently fails when the monitor doesn't attach to any
  session. Print "no attaching session" error instead.
- Fix error message of "attach"'s arguments. ("server name must be passed" ->
  "ID of session or process must be passed")

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2023-05-08 15:42:37 +09:00
..
commands monitor: improve error messages 2023-05-08 15:42:37 +09:00
types monitor: extend monitor interface from controller 2023-05-03 22:08:30 +09:00
monitor.go monitor: extend monitor interface from controller 2023-05-03 22:08:30 +09:00