~fo0bar/turku/turku-agent-encoding

« back to all changes in this revision

Viewing changes to turku_agent/update_config.py

  • Committer: Ryan Finnie
  • Date: 2016-04-19 21:46:53 UTC
  • Revision ID: ryan.finnie@canonical.com-20160419214653-0ycaflanr301i987
[jacekn] Make sure update_config errors are not ignored. This allows for hooks to fail on bad configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        if args.debug:
152
152
            raise
153
153
        logging.exception(e)
154
 
        return
 
154
        return 1
155
155
    restart_services()
156
156
 
157
157
    from utils import migrate_configs