stacktrace: missing indentation

This commit is contained in:
jean-emmanuel 2026-07-09 09:08:11 +02:00
parent c49a731134
commit 27d87f2238

View file

@ -6,7 +6,7 @@ window.onerror = function(msg,url,row,col, error) {
StackTrace.fromError(error).then((stackframes)=>{
var stringifiedStack = stackframes.join('\n')
var stringifiedStack = ' ' + stackframes.join('\n ')
uiConsole.log('error', `${msg}\n${stringifiedStack}`)
ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`)