Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Godzik <[email protected]>
  • Loading branch information
adpi2 and tgodzik committed Mar 26, 2024
1 parent 3f76df5 commit 00072f6
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ package scala.meta.internal.metals.debug

import java.nio.file.Paths

import scala.util.control.NonFatal

import scala.meta.internal.metals.MetalsEnrichments._
import scala.meta.internal.metals.SourceMapper
import scala.meta.io.AbsolutePath

import com.google.gson.JsonObject
import com.google.gson.JsonPrimitive
import org.eclipse.lsp4j.Position
import org.eclipse.lsp4j.debug.InitializeRequestArguments
import org.eclipse.lsp4j.debug.InitializeRequestArgumentsPathFormat
import org.eclipse.lsp4j.debug.SourceBreakpoint
import com.google.gson.JsonObject
import com.google.gson.JsonPrimitive

/**
* The [[ClientConfigurationAdapter]] uses the client configuration coming from the initialize request
Expand Down Expand Up @@ -63,7 +65,8 @@ private[debug] final case class ClientConfigurationAdapter(
}
}
} catch {
case _: IllegalStateException => ()
case NonFatal(t) =>
scribe.error("unexpected error when adapting stack trace response", t)
}
}
result
Expand Down

0 comments on commit 00072f6

Please sign in to comment.