[full-line] ML-2629 print stacktrace if Project could not be loaded or processed

GitOrigin-RevId: 15b2f20cd2b0a730b0b061dfe1ee0e2a16060bbb
This commit is contained in:
Kirill.Krylov
2024-01-31 22:24:34 +01:00
committed by intellij-monorepo-bot
parent caf0a086f0
commit 2fbf2056f2

View File

@@ -79,8 +79,8 @@ internal class CompletionEvaluationStarter : ApplicationStarter {
throw RuntimeException("Failed to run actions on the project: $exception")
}
}
catch (exception: Exception) {
fatalError("Project could not be loaded or processed: $exception")
catch (e: Exception) {
fatalError("Project could not be loaded or processed: $e. StackTrace: ${stackTraceToString(e)}")
}
finally {
// Closes the project even if it is not fully opened, but started to