From 8a6acd67f7236e767a7a90ea6bbd497d6967bd6d Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 14 Apr 2021 11:32:43 +0200 Subject: [PATCH] fix crash occuring by successful transfered transactions --- login_server/src/cpp/model/table/PendingTask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login_server/src/cpp/model/table/PendingTask.cpp b/login_server/src/cpp/model/table/PendingTask.cpp index cba102969..57115ea56 100644 --- a/login_server/src/cpp/model/table/PendingTask.cpp +++ b/login_server/src/cpp/model/table/PendingTask.cpp @@ -77,9 +77,9 @@ namespace model { result = parser.parse(temp); } - catch (Poco::JSON::JSONException& jsone) + catch (Poco::JSON::JSONException& json) { - return nullptr; + return new Poco::JSON::Object; } return result.extract();