Include location information in error message