mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix new occuring error
This commit is contained in:
parent
b761e9bb8d
commit
30ff0a84ef
@ -241,8 +241,12 @@ int SigningTransaction::run() {
|
||||
//sendErrorsAsEmail("<html><head><title>Hallo</title></head><body><font color='red'>Rote Test </font></body>");
|
||||
|
||||
Poco::JSON::Object object = *parsedJson.extract<Poco::JSON::Object::Ptr>();
|
||||
auto state = object.get("state");
|
||||
std::string stateString = state.convert<std::string>();
|
||||
|
||||
std::string stateString = "";
|
||||
if (!object.isNull("state")) {
|
||||
auto state = object.get("state");
|
||||
stateString = state.convert<std::string>();
|
||||
}
|
||||
if (stateString != "success") {
|
||||
addError(new Error("SigningTransaction", "php server don't return success"));
|
||||
if (!object.isNull("msg")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user