FSN#39626 Betere logging bij problemen als puo_fclt_web_url (nog) naar de verkeerde omgeving wijst.
svn path=/Website/branches/v2016.3/; revision=32896
This commit is contained in:
@@ -200,7 +200,13 @@ function sendMail( p_mailfrom
|
||||
var cidname = "flex" + nn_cid + ".png";
|
||||
var newbody = p_bodyhtml.substr(0, startPos - 4) + "src=\"cid:" + cidname + "\"" + p_bodyhtml.substr(eindPos + 1);
|
||||
p_bodyhtml = newbody;
|
||||
objMail.addRelatedBodyPart(file, cidname, 0);
|
||||
try {
|
||||
objMail.addRelatedBodyPart(file, cidname, 0);
|
||||
}
|
||||
catch (e)
|
||||
{ // Overrule.SET("puo_fclt_web_url", "http://facws001/branch20163/"); vergeten?
|
||||
throw new UserException(e + 1000, "PutOrders", e.description + "\nPerhaps invalid flex path: {0}\nurl was {1}\nflexcode was {2}".format(file, fac_web_url, flexcode));
|
||||
}
|
||||
if (filedata.tempdelete)
|
||||
objFso.DeleteFile(filedata.tempdelete);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user