Commit cc63d209 authored by Derek Parker's avatar Derek Parker Committed by Alessandro Arzilli
Browse files

pkg/proc: return proper error when debugger has exited

Instead of panicing for sending on a closed channel, detect that the
process has exited and return a proper error message.

This patch also cleans up some spots where the Pid is omitted from the
error.

Fixes #920
parent d7a92b58
No related merge requests found
Showing with 39 additions and 14 deletions
+39 -14
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment