loopback icon indicating copy to clipboard operation
loopback copied to clipboard

urlNotFound middleware outputs a full stacktrace?

Open HansHammel opened this issue 12 years ago • 2 comments

I don't know if this is because I updated my strongloop version, but the urlNotFound middleware gives me a full stacktrace on 404's, while it was just a single, nice coloured hint before? Am I mistaken? If this is intended, how to I get a simple hint? Any configuration options? Thanks.

HansHammel avatar Aug 29 '14 09:08 HansHammel

I am having this issue as well. I have tried disabling stack trace using NODE_ENV=production and disableStackTrace=true but neither option seemed to disable the stacktrace.

zane-insta avatar Apr 23 '15 15:04 zane-insta

"urlNotFound" reports a regular error which is later processed in the same way as other errors. You can disable stack traces via server/config.json, see Remoting Properties for more details.

bajtos avatar Apr 28 '15 08:04 bajtos