X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7723eaf21d7d3d0d865545a890d74f3724bf23d2..85513928f6a270af94c1477f5ae2773647b04cd7:/stglibs/srvconf.lib/servconf.cpp diff --git a/stglibs/srvconf.lib/servconf.cpp b/stglibs/srvconf.lib/servconf.cpp index c7bf3d00..e7ecfdf4 100644 --- a/stglibs/srvconf.lib/servconf.cpp +++ b/stglibs/srvconf.lib/servconf.cpp @@ -349,11 +349,13 @@ int ret = 0; if ((ret = nt.Connect()) != st_ok) { errorMsg = nt.GetError(); + cp.Failure(errorMsg); return ret; } if ((ret = nt.Transact(request, ParserRecv, this)) != st_ok) { errorMsg = nt.GetError(); + cp.Failure(errorMsg); return ret; }