diff options
-rwxr-xr-x | scan.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,9 +29,9 @@ class Prom: output = output + "therm_{0}{{mac=\"{1}\"}} {2:f}\n".format( field, mac, self.collected[mac][field][0] ) - except E: + except: output = output + "# therm_{0}{{mac=\"{1}\"}} {2}\n".format( - field, mac, E + field, mac, sys.exception() ) headers = HttpHeaders() |