Last active
September 2, 2019 06:24
-
-
Save haldarmahesh/a31768ab554976c2f04166010432430e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logger from '../logSetup'; | |
processLoan(...) { | |
logger.debug(">>>> Entering processLoan()"); | |
// ... process | |
logger.debug(`Processing user loan with id ${userService.getUser().getId()}`); | |
// this might throw error, when getUser returns undefined | |
logger.debug("<<<< Exiting processLoan()"); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment