Skip to content

Commit

Permalink
chore: Fix error logging type in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Nov 25, 2021
1 parent e2bdc37 commit 1fc9ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ program
const cleartext = await decryptString(message, key)
console.log(cleartext)
} catch (error) {
console.error(chalk.redBright('Error:', error.message))
console.error(chalk.redBright('Error:', error))
}
}
})
Expand Down

0 comments on commit 1fc9ed5

Please sign in to comment.