Skip to content

Commit

Permalink
fix: error log app name
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 11, 2019
1 parent ab64656 commit 82c460f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Log {

static error (err: Error | string, prompt = true, intend = 0) {
if (prompt)
window.showErrorMessage(`VueI18nAlly Error: ${err.toString()}`)
window.showErrorMessage(`${EXT_NAME} Error: ${err.toString()}`)
if (typeof err === 'string')
Log.info(`🐛 ERROR: ${err}`, intend)
else
Expand Down

0 comments on commit 82c460f

Please sign in to comment.