kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Improve error handling under Node.js
Now we include the stack trace with the error message. Thanks to @felixhayashi for the suggestion.print-window-tiddler
rodzic
48696c7d41
commit
cea963420c
|
@ -687,7 +687,7 @@ $tw.modules.execute = function(moduleName,moduleRoot) {
|
|||
moduleInfo.exports = moduleInfo.definition;
|
||||
}
|
||||
} catch(e) {
|
||||
$tw.utils.error("Error executing boot module " + name + ":\n" + e);
|
||||
$tw.utils.error("Error executing boot module " + name + ":\n" + e.stack);
|
||||
}
|
||||
}
|
||||
// Return the exports of the module
|
||||
|
|
Ładowanie…
Reference in New Issue