Browse Source

Show all error messages in TailView. Fixes #627

Mike Naberezny 9 năm trước cách đây
mục cha
commit
e9fb8ee114
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      supervisor/web.py

+ 2 - 1
supervisor/web.py

@@ -212,7 +212,8 @@ class TailView(MeldView):
                     if e.code == Faults.NO_FILE:
                         tail = 'No file for %s' % processname
                     else:
-                        raise
+                        tail = 'ERROR: unexpected rpc fault [%d] %s' % (
+                            e.code, e.text)
 
         root = self.clone()