Ensure etags.json can update when empty (#182)

* Ensure etags.json can update when empty

* Update and load etags on settings change

* Handle exception in catch block
This commit is contained in:
Zoran Joka 2018-10-10 10:55:11 +02:00 committed by Josh Harvey
parent f4fc9d6328
commit 85295ea62c
2 changed files with 7 additions and 1 deletions

View file

@ -29,6 +29,7 @@ function reload (__settings) {
_settings = __settings
_pi = plugins(_settings)
logger.debug('settings reloaded in poller')
updateAndLoadSanctions()
}
function pi () { return _pi }