Skip to content

Commit

Permalink
fix: catch error return false;
Browse files Browse the repository at this point in the history
  • Loading branch information
gene-zhan committed Dec 23, 2024
1 parent 1851c04 commit 73f5437
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class VerifiableLogProvider implements IVerifiableLogProvider {
// evmKeypair can now be used for Ethereum operations
} catch (error) {
console.error("EVM key derivation failed:", error);

return false;
}
return this.dao.addLog(<VerifiableLog>{
Expand Down

0 comments on commit 73f5437

Please sign in to comment.