ConfigController: show connection problems

On large setups, you'll see this on every deployment. But as we're
sometimes facing strange connection issues, I prefer to have some
noise here
This commit is contained in:
Thomas Gelf 2018-09-06 01:08:44 +02:00
parent e853dc40fc
commit 5eaa682124

View File

@ -56,6 +56,9 @@ class ConfigController extends ActionController
$this->setAutorefreshInterval(20);
}
} catch (Exception $e) {
$this->content()->prepend(
Html::tag('p', ['class' => 'warning'], $e->getMessage())
);
// No problem, Icinga might be reloading
}