Command line utility to launch Express local API for claudia-api-builder. Test drive your lambda functions before deployment (https://www.npmjs.com/package/claudia-local-api)
In logError we currently only log the stack, it would be good to log the message too, or just the entire error object:
function logError(logger, error) {
// Probably better to log the entire thing as we may not have the message
logger.error(error.message);
logger.error(error.stack);
}
OR
function logError(logger, error) {
logger.error(error);
}
In logError we currently only log the stack, it would be good to log the message too, or just the entire error object:
OR
What do you think?