1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 01:08:54 +01:00

Improve logs

This commit is contained in:
Ming Ming 2022-07-13 04:12:14 +08:00
parent 16dbed324c
commit a574bd8411

View file

@ -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)
}
}