Feathers: Noisy Error reporting

Created on 14 Jun 2018  路  5Comments  路  Source: feathersjs/feathers

Steps to reproduce

After npm update it show in error report lot of code. Its to noisy and i have always problem spot the error cause.

https://gist.github.com/MartinBucko/82c91b7a35b63f8e260a52e07ee799d3

It happen only on local development mode and in production too and sorry i don't have public repo for this project...

Expected behavior

Shold not contain code preview in context error.

System configuration

OS Linux Ubuntu

Module versions (especially the part that's not working):

in gits link..

NodeJS version:

v8.11.1

Operating System:

LSB Version: core-9.20160110ubuntu5-amd64:core-9.20160110ubuntu5-noarch:security-9.20160110ubuntu5-amd64:security-9.20160110ubuntu5-noarch
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

Most helpful comment

This is probably because of the latest version of Winston. Change logger.error(context.error) to logger.error(context.error.stack) in the logger file.

All 5 comments

This is probably because of the latest version of Winston. Change logger.error(context.error) to logger.error(context.error.stack) in the logger file.

I'm still having this issue even though I'm using context.error.stack. Is there anyway to identify what's causing and struggling to find the issue.

@dottodot i generate new dummy project and replace logging thinks in my old app from this dummy project. That help mi fix that.

The pull request at https://github.com/feathersjs/feathers-chat/pull/97 shows how to update to the newest version of Winston manually.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

perminder-klair picture perminder-klair  路  3Comments

NetOperatorWibby picture NetOperatorWibby  路  4Comments

andysay picture andysay  路  3Comments

codeus-de picture codeus-de  路  4Comments

eric-burel picture eric-burel  路  3Comments