How to use the lambda-monitor-logger.logger.error function in lambda-monitor-logger

To help you get started, we’ve selected a few lambda-monitor-logger examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blackflux / lambda-monitor / src / logic / subscribe.js View on Github external
}).catch((e) => {
    if (e.name === 'ThrottlingException') {
      logger.error('CloudWatch subscription logic temporarily throttled by AWS.');
    } else {
      throw e;
    }
  });

lambda-monitor-logger

Logging designed to be used with lambda-monitor

MIT
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis