Skip to content

Commit 9792dc9

Browse files
committed
chore(detekt): suppress startup complexity and generic-catch warnings
1 parent 797d061 commit 9792dc9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/com/zeroclaw/android/service/ZeroClawDaemonService.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class ZeroClawDaemonService : Service() {
210210
* flow-based. The foreground notification is posted immediately so the
211211
* system does not kill the service while waiting for I/O.
212212
*/
213+
@Suppress("CognitiveComplexMethod", "TooGenericExceptionCaught")
213214
private fun handleStartFromSettings() {
214215
val notification =
215216
notificationManager.buildNotification(ServiceState.STARTING)
@@ -624,6 +625,7 @@ class ZeroClawDaemonService : Service() {
624625
* detaches the foreground notification (keeping it visible as an
625626
* error indicator), and calls [stopSelf] to avoid a zombie service.
626627
*/
628+
@Suppress("CognitiveComplexMethod", "TooGenericExceptionCaught")
627629
private fun attemptStart(
628630
configToml: String,
629631
host: String,

0 commit comments

Comments
 (0)