Commit 66efda7
committed
Prevent setupDirectories/writeResolvConf from crashing gateway/SSH start
Wrap both calls in try-catch in GatewayService.kt and SshForegroundService.kt
so the gateway/SSH process still starts even if directory setup fails.
GatewayService now logs warnings if setup fails for debugging.
Co-Authored-By: Mithun Gowda B <mithungowda.b7411@gmail.com>1 parent 4ab8d1f commit 66efda7
File tree
2 files changed
+12
-4
lines changed- flutter_app/android/app/src/main/kotlin/com/nxg/openclawproot
2 files changed
+12
-4
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments