mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Improve logs
This commit is contained in:
parent
16dbed324c
commit
a574bd8411
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ class ImageProcessorChannelHandler(context: Context) :
|
|||
result
|
||||
)
|
||||
} catch (e: Throwable) {
|
||||
logE(TAG, "Uncaught exception", e)
|
||||
result.error("systemException", e.toString(), null)
|
||||
}
|
||||
}
|
||||
|
@ -46,6 +47,7 @@ class ImageProcessorChannelHandler(context: Context) :
|
|||
result
|
||||
)
|
||||
} catch (e: Throwable) {
|
||||
logE(TAG, "Uncaught exception", e)
|
||||
result.error("systemException", e.toString(), null)
|
||||
}
|
||||
}
|
||||
|
@ -61,6 +63,7 @@ class ImageProcessorChannelHandler(context: Context) :
|
|||
result
|
||||
)
|
||||
} catch (e: Throwable) {
|
||||
logE(TAG, "Uncaught exception", e)
|
||||
result.error("systemException", e.toString(), null)
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +81,7 @@ class ImageProcessorChannelHandler(context: Context) :
|
|||
result
|
||||
)
|
||||
} catch (e: Throwable) {
|
||||
logE(TAG, "Uncaught exception", e)
|
||||
result.error("systemException", e.toString(), null)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue