Commit df768155 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

improve logging of exec failures

parent f7e0490e
......@@ -786,7 +786,7 @@ class ExternalParserWrapper(
process = Some(Process(command, cwd, env.toSeq: _*).run(new ProcessIO(currentStdInHandler, jsonDecode _, currentStdErrHandler)))
} catch {
case e: Exception =>
logger.error(s"Parser $parserName had an exception when parsing ${mainFileUri.getOrElse("<unknowUri>")}")
logger.error(s"Parser $parserName had an exception when parsing ${mainFileUri.getOrElse("<unknowUri>")}", e)
hadErrors = true
}
!hadErrors
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment