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 <tgodzik@users.noreply.github.com>
  • Loading branch information
adpi2 and tgodzik committed Mar 26, 2024
1 parent b52c8f6 commit f2b270e
Showing 1 changed file with 6 additions and 3 deletions.
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 f2b270e

Please sign in to comment.