QUAW#42388:Vooral ook: resultcode/returntekst DoLoggen bij falen: minder false-positives

svn path=/Website/branches/v2017.2/; revision=35714
This commit is contained in:
Jos Groot Lipman
2017-10-17 07:36:21 +00:00
parent 7ca203f0f3
commit a9b82c6d50
2 changed files with 2 additions and 2 deletions

View File

@@ -450,7 +450,7 @@ for (i = 0; i < meldingen.length; i++)
} // end insert
} // end geldige ext_id
if (resultcode <= 0)
if (resultcode > 0)
__DoLog("api_mldsoap fail.\nResultcode: {0}\nReturntekst: {1}".format(resultcode, resulttekst), "#00FF00");
var binfo = {returncode: resultcode,

View File

@@ -801,7 +801,7 @@ for (i=0; i < opdrachten.length; i++)
{
resultcode = 0; // Ik heb gedaan wat ik moest en mocht doen voor deze opdracht.
}
else
else if (resultcode > 0)
{
__DoLog("api_opdrsoap fail.\nResultcode: {0}\nReturntekst: {1}".format(resultcode, resulttekst), "#00FF00");
}