diff --git a/application/views/scripts/process/show.phtml b/application/views/scripts/process/show.phtml index bc23501..ffae377 100644 --- a/application/views/scripts/process/show.phtml +++ b/application/views/scripts/process/show.phtml @@ -51,7 +51,20 @@ use Icinga\Module\Businessprocess\BusinessProcess;
-bp->renderHtml($this) ?> +bp->renderHtml($this); +} catch (Exception $e) { + printf( + '', + $this->translate('Error'), + $this->escape($e->getMessage()) + ); +} + + +?> bpconfig->isLocked()): ?> bp instanceof BusinessProcess): /* do not render when showing subtree */ ?> bp->renderUnbound($this) ?>