Skip to content

Instantly share code, notes, and snippets.

Created September 7, 2019 15:40
What would you like to do?
import logger from '../logSetup';
processLoan(id: number, userId: number) {
try {
} catch(error) {
log.error(`Failed to do getLoanDetails with id ${id}, ignoring it and trying to getLoanDetailsByUserId`, error);
// good example: provide what failed, and how you are handling.
// e.g here on fail I am trying to call other function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment