I’ve been doing some testing between different environments, and I have a reoccurring problem with error reporting in an on-error clause (this is only related to our Natural for Ajax modules).
Basically, the line number produced from *ERROR-LINE is absolutely fine in our development environment.
However, on migrating to the middle environment, the *ERROR-LINE reported is double what is should be (ie 1320 becomes 2640). … Further down the line (Production), the same error gives a completely different number all together again (and unfortunately at the moment I can’t decipher how it come to it’s conclusion for assigning the error-line… at least the middle deployment was double!).
Is there something causing this? We have looked a few things but can’t find the cause.