Skip to content

Rewrite the customError module with class syntax#3841

Merged
muxator merged 1 commit intoether:developfrom
anttiviljami:fix/3834
Apr 7, 2020
Merged

Rewrite the customError module with class syntax#3841
muxator merged 1 commit intoether:developfrom
anttiviljami:fix/3834

Conversation

@anttiviljami
Copy link
Copy Markdown
Contributor

This fixes a deprecation warning on node 10

The previous syntax caused a deprecation warning on Node 10.
However, due to the very old version of log4js Etherpad is currently using,
customError objects are going to be displayed as { inspect: [Function: inspect] }.

This needs to be addressed later, updating log4js.

Fixes ether#3834.
@anttiviljami anttiviljami changed the title Fix #3834: rewrite the customError module with class syntax Rewrite the customError module with class syntax Apr 6, 2020
Comment thread src/node/utils/customError.js
@muxator muxator added this to the 1.8.3 milestone Apr 6, 2020
@muxator muxator merged commit 3edd727 into ether:develop Apr 7, 2020
@muxator
Copy link
Copy Markdown
Contributor

muxator commented Apr 7, 2020

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants