Skip to content

Commit

Permalink
the let us know error message was pointing to a particular issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkomarov authored Aug 30, 2024
1 parent 2ed9084 commit cc02a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exportify.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ let PlaylistExporter = {
saveAs(new Blob(["\uFEFF" + csv], { type: "text/csv;charset=utf-8" }), this.fileName(playlist) + ".csv")
} catch (e) {
error.innerHTML += "Couldn't export " + playlist.name + ". Encountered <tt>" + e + "</tt><br>" + e.stack +
'<br>Please <a href="https://github.com/pavelkomarov/exportify/issues/10">let us know</a>.'
'<br>Please <a href="https://github.com/pavelkomarov/exportify/issues">let us know</a>.'
} finally { // change back the export button's text
document.getElementById("export"+row).innerHTML = '<i class="fa fa-download"></i> Export'
}
Expand All @@ -162,7 +162,7 @@ let PlaylistExporter = {
} catch (e) { // Surface all errors
error.innerHTML = error.innerHTML.slice(0, -120) + "Couldn't export " + playlist.name + " with id " +
playlist.id + ". Encountered <tt>" + e + "</tt><br>" + e.stack +
'<br>Please <a href="https://github.com/pavelkomarov/exportify/issues/10">let us know</a>. ' +
'<br>Please <a href="https://github.com/pavelkomarov/exportify/issues">let us know</a>. ' +
"The others are still being zipped."
}
}
Expand Down

0 comments on commit cc02a0d

Please sign in to comment.