Skip to content

Commit

Permalink
IcingaObjectsHandler: send error message, not trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Jul 19, 2022
1 parent 349cc33 commit 2821b07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/Director/RestApi/IcingaObjectsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ public function processApiRequest()
try {
$this->streamJsonResult();
} catch (Exception $e) {
// NONO
$this->sendJsonError($e->getTraceAsString());
$this->sendJsonError($e);
}
}

Expand Down

0 comments on commit 2821b07

Please sign in to comment.