diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-23 11:27:56 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-23 11:27:56 -0400 |
commit | 602ee0d5a1b092faf8f29cac0727a28640aac0b0 (patch) | |
tree | d050b0f2d12ec989d40305bf43d79a0633905b74 /dispatch.go | |
parent | 08b327bf3afd7ad180fe807c4292c23cc6942b56 (diff) |
Better exception output
Diffstat (limited to 'dispatch.go')
-rw-r--r-- | dispatch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dispatch.go b/dispatch.go index 09e5bad9f..33b1fdca9 100644 --- a/dispatch.go +++ b/dispatch.go @@ -73,7 +73,7 @@ func DispatchLoop() { case msg := <-resChan: out, err := proto.Marshal(msg) err = worker.SendBytes(out) - check(err) + exitOnError(err) case <-doneChan: // All goroutines have completed. Now we can exit main(). return |