Skip to content

Commit

Permalink
Include specific error messages in Tool Shed ManageApiKey.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Aug 12, 2024
1 parent 005b4a6 commit 9c0708d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function init() {
})
if (error) {
notifyOnCatch(new Error("Error fetching API key"))
notifyOnCatch(new Error(`Error fetching API key: ${error.err_msg}`))
return
}
Expand All @@ -44,7 +44,7 @@ async function deleteKey() {
})
if (error) {
notifyOnCatch(new Error("Error deactivating API key"))
notifyOnCatch(new Error(`Error deactivating API key: ${error.err_msg}`))
return
}
Expand All @@ -60,7 +60,7 @@ async function recreateKey() {
})
if (error) {
notifyOnCatch(new Error("Error re-generating API key"))
notifyOnCatch(new Error(`Error re-generating API key: ${error.err_msg}`))
return
}
Expand Down

0 comments on commit 9c0708d

Please sign in to comment.