Expose filename and script source on errors