From 8b9b17cd8424d8739ae2a00eebbb1c64310cb463 Mon Sep 17 00:00:00 2001 From: chashaochang <1139396584@qq.com> Date: Sat, 7 Mar 2026 03:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt b/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt index 5baf4fb..3dbddc6 100644 --- a/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt +++ b/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt @@ -144,8 +144,8 @@ class RemoteOpenClawRepository( sessionId to snapshot.messages.map { dto -> dto.toDomainMessage() } ) } - } catch (_: CancellationException) { - throw _ + } catch (e: CancellationException) { + throw e } catch (_: Throwable) { delay(1500) }