copy email also for cakephp exceptions

This commit is contained in:
einhornimmond 2021-04-12 16:57:01 +02:00
parent fd201ee43a
commit f6084db695

View File

@ -108,7 +108,7 @@ JsonRequestReturn JsonRequest::request(const char* methodName, const Poco::JSON:
std::string field_name = field + ": ";
addError(new ParamError(functionName, field_name.data(), object.get(field).toString()));
}
sendErrorsAsEmail();
sendErrorsAsEmail("", true);
return JSON_REQUEST_RETURN_ERROR;
}
else {