Add stack to unknown error report

This commit is contained in:
RemixDev 2021-09-10 19:25:09 +02:00
parent a47278ce65
commit 2cc3df059a

View file

@ -562,7 +562,8 @@ class Downloader {
console.trace(e)
result = {error:{
message: e.message,
data: itemData
data: itemData,
stack: String(e.stack)
}}
}
}
@ -578,7 +579,8 @@ class Downloader {
failed: true,
data: error.data,
error: error.message,
errid: error.errid || null
errid: error.errid || null,
stack: error.stack || null
})
}
}