forked from p34709852/monkey
Additional edge case in parsing Azure configuration files
This commit is contained in:
parent
3fe6d2456b
commit
ca65be8946
|
@ -96,7 +96,7 @@ class AzureCollector(object):
|
|||
except IOError:
|
||||
LOG.warning("Failed to parse VM Access plugin file. Could not open file")
|
||||
return None
|
||||
except (KeyError, ValueError):
|
||||
except (KeyError, ValueError, IndexError):
|
||||
LOG.warning("Failed to parse VM Access plugin file. Invalid format")
|
||||
return None
|
||||
except subprocess.CalledProcessError:
|
||||
|
|
Loading…
Reference in New Issue