summaryrefslogtreecommitdiff
path: root/cloudinit/analyze/show.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/analyze/show.py')
-rw-r--r--cloudinit/analyze/show.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/analyze/show.py b/cloudinit/analyze/show.py
index 3b356bb8..3e778b8b 100644
--- a/cloudinit/analyze/show.py
+++ b/cloudinit/analyze/show.py
@@ -201,7 +201,7 @@ def load_events(infile, rawdata=None):
j = None
try:
j = json.loads(data)
- except json.JSONDecodeError:
+ except ValueError:
pass
return j, data