5 ms·
>> 1. Catch, log This is not as useless as it sounds. You can analyse the logs and find out why these exceptions are occurring. A lot of times these lead you t
by pritambarhate 5y ago
>> 1. Catch, log
This is not as useless as it sounds. You can analyse the logs and find out why these exceptions are occurring. A lot of times these lead you to subtle bugs which you might not have noticed otherwise.
- dfee 5y agosure. or if using something like Vavr... catch a bunch of 'em all at once. ``` Try.success(foo. .map(...) .mapTry(...) .map(...) .mapTry(...) .onFailure(e -> LOGGER.warn("Failed %s", e) .get() ```