mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix macro
This commit is contained in:
parent
a0056885bc
commit
d9d5dc81cd
@ -47,7 +47,7 @@ Poco::JSON::Object* JsonCreateTransaction::handle(Poco::Dynamic::Var params)
|
||||
auto user = mSession->getNewUser();
|
||||
if (user.isNull()) {
|
||||
auto em = ErrorManager::getInstance();
|
||||
em->addError(new Error(__FUNCDNAME__, "session hasn't a user, check code"));
|
||||
em->addError(new Error("JsonCreateTransaction", "session hasn't a user, check code"));
|
||||
em->sendErrorsAsEmail();
|
||||
return customStateError("code error", "user is zero");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user