Commit 17fa3080 authored by Olav Morken's avatar Olav Morken

Fix nova_clean_stale not exiting with failure on error

parent 6cafba89
......@@ -9,6 +9,7 @@ try:
from configparser import SafeConfigParser # pylint: disable=F0401
except ImportError:
from ConfigParser import SafeConfigParser # pylint: disable=F0401
import sys
import time
DESCRIPTION = """
......@@ -113,3 +114,4 @@ if __name__ == '__main__':
main()
except Exception:
logging.exception("Unhandled exception")
sys.exit(1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment