BF: Fix for very intermittent *can't read ::errorCode: no such variable bug*
This should fix the intermittent:
can't read "::errorCode": no such variable
bug, although we have never been able to reproduce locally, confirmed working on remote systems with this issue.
(Example: https://www.jiscmail.ac.uk/cgi-bin/wa-jisc.exe?A2=FSL;56ace2.1412)
Edited by Paul McCarthy