icerockdev / moko-errors

Automated exceptions handler for mobile (android & ios) Kotlin Multiplatform development.
https://moko.icerock.dev/
Apache License 2.0
52 stars 6 forks source link

Add into ExceptionMappersStorage ability to log all exceptions that mapped #36

Closed Alex009 closed 1 year ago

Alex009 commented 3 years ago

To not add logging in all places where we call mapping of exception we should add ability to ExceptionMappersStorage to pass onMap lambda, where we can add logging. example:

ExceptionMappersStorage.onMap { exc, type ->
    Napier.e("exception mapping", exc)
}
Alex009 commented 1 year ago

will be released in 0.7.0