forked from mirrors/Scribe.js
Update Console.js
This commit is contained in:
parent
b76a47db8f
commit
323cfbb1af
1 changed files with 2 additions and 3 deletions
|
@ -46,8 +46,7 @@ export default class {
|
|||
|
||||
return site;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
return {};
|
||||
return { line: 0, file: '-', func: '-'};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -158,4 +157,4 @@ export default class {
|
|||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue