Do not use the file name in errors unless it exists
Merge pull request #1495 from Microsoft/crashWhileReportingError

Do not use the file name in errors unless it exists