Skip to content

Commit

Permalink
Update src/keychain/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jin <[email protected]>
  • Loading branch information
brunobar79 and jinchung authored Sep 10, 2024
1 parent 27bd9a9 commit e798c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keychain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export async function get(key: string, options: KeychainOptions = {}): Promise<R
}
default: {
// Avoid logging user cancelled operations
if (!(e.toString().includes('code: 10') || e.toString().includes('code: 11'))) {
if (!(e.toString().includes('code: 10') || e.toString().includes('code: 13'))) {
logger.error(new RainbowError(`[keychain]: _get() handled unknown error`), {
message: e.toString(),
});
Expand Down

0 comments on commit e798c5a

Please sign in to comment.