added stack on error hover

This commit is contained in:
RemixDev 2021-12-23 23:25:09 +01:00
parent 65d5762e6e
commit 1312594ef3
3 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -254,7 +254,7 @@ export default {
}, },
updateQueue(update) { updateQueue(update) {
// downloaded and failed default to false? // downloaded and failed default to false?
const { uuid, downloaded, failed, progress, conversion, error, data, errid } = update const { uuid, downloaded, failed, progress, conversion, error, data, errid, stack } = update
if (uuid && this.queue.includes(uuid)) { if (uuid && this.queue.includes(uuid)) {
if (downloaded) { if (downloaded) {
@ -263,7 +263,7 @@ export default {
if (failed) { if (failed) {
this.queueList[uuid].failed++ this.queueList[uuid].failed++
this.queueList[uuid].errors.push({ message: error, data, errid }) this.queueList[uuid].errors.push({ message: error, data, errid, stack })
} }
if (progress) { if (progress) {

View File

@ -13,7 +13,7 @@
<td>{{ error.data.id }}</td> <td>{{ error.data.id }}</td>
<td>{{ error.data.artist }}</td> <td>{{ error.data.artist }}</td>
<td>{{ error.data.title }}</td> <td>{{ error.data.title }}</td>
<td>{{ error.errid ? $t(`errors.ids.${error.errid}`) : error.message }}</td> <td><span :title="error.stack">{{ error.errid ? $t(`errors.ids.${error.errid}`) : error.message }}</span></td>
</tr> </tr>
</table> </table>
</div> </div>