Log the error source on "compilation failed"