fix Issue 12874 - Wrong file name in range violation error
Merge pull request #3639 from 9rnsr/fix12874

Issue 12874 - Wrong file name in range violation error