logger: fix error handling.
This commit is contained in:
parent
a53b2c0eef
commit
858081626f
@ -344,6 +344,8 @@ Logger.prototype.writeConsole = function writeConsole(level, args) {
|
||||
*/
|
||||
|
||||
Logger.prototype.getStream = function getStream() {
|
||||
var self = this;
|
||||
|
||||
if (this.closed)
|
||||
return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user