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)
}
To not add logging in all places where we call mapping of exception we should add ability to
ExceptionMappersStorage
to passonMap
lambda, where we can add logging. example: