Commit bd974718 authored by Matija Obreza's avatar Matija Obreza

Include INSTCODE and ACCENUMB in error message

parent 578e03e2
......@@ -490,9 +490,9 @@ public class PushDialog extends Dialog {
@Override
public void accept(JsonNode t) {
if (t.has("error") && !t.get("error").isNull()) {
_log.error(t.get("error"));
_log.error(t.get("instCode") + " " + t.get("acceNumb") + ":" + t.get("error"));
} else if (t.has("result") && !t.get("result").isNull()) {
_log.debug(t.get("result"));
_log.debug(t.get("instCode") + " " + t.get("acceNumb") + ":" + t.get("result"));
}
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment