forked from mirrors/Scribe.js
Fix webPanel bug for consoles without logWriter
This commit is contained in:
parent
bc833adb8c
commit
eb70a19a0c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
var getLogFolders = function() {
|
var getLogFolders = function() {
|
||||||
|
|
||||||
return map(consoles, function(elem) {
|
return map(consoles, function(elem) {
|
||||||
return elem.logWriter.rootPath || undefined;
|
return elem.logWriter ? elem.logWriter.rootPath : undefined;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue