Skip to content

Commit

Permalink
Omit exception message from JSON output
Browse files Browse the repository at this point in the history
WE2-556

Signed-off-by: Mart Somermaa <[email protected]>
  • Loading branch information
mrts committed May 10, 2024
1 parent 083c77e commit ddff5f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controller/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ void Controller::onCriticalFailure(const QString& error)
{
qCritical() << "Exiting due to command" << std::string(commandType())
<< "fatal error:" << error;
_result = makeErrorObject(RESP_TECH_ERROR, error);
_result = makeErrorObject(RESP_TECH_ERROR, QStringLiteral("Technical error, see application logs"));
writeResponseToStdOut(isInStdinMode, _result, commandType());
disposeUI();
WebEidUI::showFatalError();
Expand Down
2 changes: 1 addition & 1 deletion src/mac/js

0 comments on commit ddff5f4

Please sign in to comment.