Skip to content

Commit

Permalink
improve error handling
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
RaveenaBhasin and coderabbitai[bot] authored Jan 21, 2025
1 parent b18e9d8 commit cb71a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-router-nitro/src/actions/executeSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const executeSwapAction = {
}
} catch (error) {
elizaLogger.log(`Error during executing swap: ${error.message}`);
callback?.({ text: `Error during swap:` });
callback?.({ text: `Error during swap: ${error.message}` });
return false;
}
return true;
Expand Down

0 comments on commit cb71a7e

Please sign in to comment.