Last active
September 17, 2021 01:19
-
-
Save justinpage/5a5d66ae91e06435e2248fa58590ff2d 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
| const logger = require('pino')({ | |
| timestamp: () => `,"time":"${new Date().toISOString()}"` | |
| }) | |
| const LIMIT = 5 | |
| let c = {uuid: '6d20a81a-28f9-4fb7-8ee8-2f742bc6d9a2'} | |
| let e = {msg: `Timeout: failed to get response in ${LIMIT} seconds`} | |
| logger.error({cxt: c, err: e}, 'getImages: Failed to get images from API') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment