Skip to content

Commit

Permalink
Log error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Mar 14, 2024
1 parent 12a823a commit 3b113c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/main/scala/bloop/bsp/BspServer.scala
Expand Up @@ -163,6 +163,8 @@ object BspServer {
case scala.util.Success(socket: ServerSocket) =>
listenToConnection(handle, socket).onErrorRecover {
case t =>
System.err.println("Exiting BSP server with:")
t.printStackTrace(System.err)
state.withError(s"Exiting BSP server with ${t.getMessage}", t)
}
case scala.util.Failure(t: Throwable) =>
Expand Down

0 comments on commit 3b113c5

Please sign in to comment.