Do not unwind rpc exception

This commit is contained in:
a10zn8
2023-06-06 13:34:27 +04:00
parent 153d0f7d85
commit a3a2f33880

View File

@@ -31,7 +31,7 @@ class JsonRpcError(val code: Int, val message: String, val details: Any?) {
} }
fun asException(id: JsonRpcResponse.Id?): JsonRpcException { fun asException(id: JsonRpcResponse.Id?): JsonRpcException {
return JsonRpcException(id ?: JsonRpcResponse.NumberId(-1), this) return JsonRpcException(id ?: JsonRpcResponse.NumberId(-1), this, false)
} }
override fun equals(other: Any?): Boolean { override fun equals(other: Any?): Boolean {