Skip to content

Commit 3bb8302

Browse files
authored
Merge pull request #2759 from digma-ai/fix-show-error-api
fix-show-error-api
2 parents 54115d5 + 26eaa18 commit 3bb8302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/api/GoToErrorCommand.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GoToErrorCommand : AbstractApiCommand() {
3434
if (environmentId.isBlank()) {
3535
throw RuntimeException("could not find environment id for error id $errorId")
3636
}
37-
val contextPayload = objectToJsonNode(GoToErrorContextPayload(errorId = errorId))
37+
val contextPayload = objectToJsonNode(GoToErrorContextPayload(targetTabPath = errorId))
3838
val scopeContext = ScopeContext("IDE/REST_API_CALL", contextPayload)
3939

4040
Log.log(
@@ -50,6 +50,6 @@ class GoToErrorCommand : AbstractApiCommand() {
5050
}
5151

5252

53-
data class GoToErrorContextPayload(val targetTab: String = "errors", val errorId: String)
53+
data class GoToErrorContextPayload(val targetTab: String = "errors", val targetTabPath: String)
5454

5555
}

0 commit comments

Comments
 (0)