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 7bbfdbb..a116fc0 100644 --- a/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt +++ b/composeApp/src/commonMain/kotlin/cn/xiaobai/openclawapp/data/RemoteOpenClawRepository.kt @@ -189,9 +189,9 @@ class RemoteOpenClawRepository( } } } - } catch (_: CancellationException) { - throw _ - } catch (_: Throwable) { + } catch (e: CancellationException) { + throw e + } catch (t: Throwable) { delay(1500) } }