Skip to content

v1.5.3

Choose a tag to compare

@mattoberle mattoberle released this 17 Nov 23:15
· 11 commits to master since this release
d8895e9

v1.5.2...v1.5.3

#22 - Fixes bug that caused properties to be dropped from log context.

⚠️ This release reverts the changes introduced in v1.5.2.. ⚠️

clay-log@1.5.2 introduced a breaking change that caused non-enumerable properties to be dropped from log context.

For example:

const err = new Error('error');
log('error', 'my custom message', err); // we lose err.stack, err.message, and err.name