aboutsummaryrefslogtreecommitdiff
path: root/scan.py
diff options
context:
space:
mode:
Diffstat (limited to 'scan.py')
-rwxr-xr-xscan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scan.py b/scan.py
index b55526c..b39e105 100755
--- a/scan.py
+++ b/scan.py
@@ -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()