mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
copy email also for cakephp exceptions
This commit is contained in:
parent
fd201ee43a
commit
f6084db695
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user