added stack on error hover
This commit is contained in:
parent
65d5762e6e
commit
1312594ef3
File diff suppressed because one or more lines are too long
@ -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) {
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user