Skip to content

Commit d0b446e

Browse files
committed
Do not wrap exception
1 parent 3d6c714 commit d0b446e

File tree

1 file changed

+1
-1
lines changed
  • acp/src/commonMain/kotlin/com/agentclientprotocol/protocol

1 file changed

+1
-1
lines changed

acp/src/commonMain/kotlin/com/agentclientprotocol/protocol/Protocol.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ private fun convertJsonRpcExceptionIfPossible(jsonRpcException: JsonRpcException
499499
}
500500

501501
else -> {
502-
return IllegalStateException(jsonRpcException.message, jsonRpcException)
502+
return jsonRpcException
503503
}
504504
}
505505
}

0 commit comments

Comments
 (0)