senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 314 forks source link

seneca.fail ignores log levels #878

Open lilsweetcaligula opened 3 years ago

lilsweetcaligula commented 3 years ago

It seems like Seneca.prototype.fail is ignoring log levels. In the code below, the call to #fail will produce the output despite the preceeding call to #quiet:

const app = Seneca().quiet()
app.fail('oops')