diff --git a/phantomas_custom/modules/jsErrYLT/jsErrYLT.js b/phantomas_custom/modules/jsErrYLT/jsErrYLT.js index 53f0adb..e9975e2 100644 --- a/phantomas_custom/modules/jsErrYLT/jsErrYLT.js +++ b/phantomas_custom/modules/jsErrYLT/jsErrYLT.js @@ -14,7 +14,7 @@ exports.module = function(phantomas) { if(Array.isArray(trace)) { trace.forEach(function(entry) { - ret.push((entry.function ? entry.function + '(): ' : 'unknown fn: ') + (entry.sourceURL || entry.file) + ' @ ' + entry.line); + ret.push((entry.function ? entry.function + ' ' : '') + (entry.sourceURL || entry.file) + ':' + entry.line); }); }