diff options
author | portix <none@none> | 2013-02-27 10:05:02 +0100 |
---|---|---|
committer | portix <none@none> | 2013-02-27 10:05:02 +0100 |
commit | 82119ac5df62069860b27fd4b783322c7a02bfb7 (patch) | |
tree | 48893725c6f315f6f178dac42b4d985d6ea2fd2b /scripts | |
parent | bbe1a73e0e6717b2e4ad4ba28be903bf2bcf6910 (diff) | |
parent | 4f4fc4c7a70bd8491dfed49b1edfcc3c094630d0 (diff) | |
download | dwb-82119ac5df62069860b27fd4b783322c7a02bfb7.zip |
Automated merge with ssh://bitbucket.org/portix/dwb
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/io.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/io.js b/scripts/lib/io.js index 33423433..92170b14 100644 --- a/scripts/lib/io.js +++ b/scripts/lib/io.js @@ -1,6 +1,6 @@ (function () { var prefixMessage = "\n==> DEBUG [MESSAGE] : "; - var prefixFile = "\n==> DEBUG [IN FILE] : "; + var prefixFile = "\n==> DEBUG [FILE] : "; var prefixError = "\n==> DEBUG [ERROR] : "; var prefixStack = "\n==> DEBUG [STACK] : "; var prefixArguments = "\n==> DEBUG [ARGUMENTS] : "; @@ -67,7 +67,7 @@ } offset += 1; } - outMessage += prefixError + "Exception in line " + showLine + ": " + error.message; + outMessage += prefixError + "Error in line " + showLine + ": " + error.message; stack = "[" + error.stack.match(/[^\n]+/g).slice(offset).join("] [")+"]"; } else |