Browse Source

Fixed error of not saying what code server returned

Alois Mahdal 11 years ago
parent
commit
72f8a0a79d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/htlogr.py

+ 1
- 1
lib/htlogr.py View File

59
         self.conn.request("GET", pq)
59
         self.conn.request("GET", pq)
60
         r = self.conn.getresponse()
60
         r = self.conn.getresponse()
61
         assert r.status == 200, ("logging server returned error %s,"
61
         assert r.status == 200, ("logging server returned error %s,"
62
-                                 "message not logged")
62
+                                 "message not logged" % r.status)
63
         return r.read()
63
         return r.read()
64
 
64
 
65
     def data(self, data, tag=None, i=None):
65
     def data(self, data, tag=None, i=None):