Skip to content

Commit

Permalink
fix error message prompt on git log error
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed May 14, 2023
1 parent 2912c4a commit 09211a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/vue-app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import '@vscode/codicons/dist/codicon.css'
console_error = console.error
handle_error = (###* @type {any} ### e) =>
console_error e
show_error_message "git log --graph extension encountered an unexpected error. Sorry! Error summary: " + (e.message or e.msg or e.data or e.body or e.stack or e.status or e.name or e.toString?() or try JSON.stringify(e)) + ". For details, see VSCode developer console. Please consider reporting this error."
show_error_message "git log --graph extension encountered an unexpected error. Sorry! Error summary: " + (e.message or e.msg or e.data or e.body or e.stack or try JSON.stringify(e) or e.toString?()) + ". For details, see VSCode developer console. Please consider reporting this error."
window.onerror = handle_error
console.error = handle_error
window.addEventListener 'unhandledrejection', (e) =>
Expand Down

0 comments on commit 09211a0

Please sign in to comment.