Skip to content

Commit 92a2fe7

Browse files
committed
fix: hides error messages when a callback runs
1 parent 160fd8d commit 92a2fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-sui/src/actions/convertNameToAddress.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ export default {
167167
console.error("Error during name to address conversion:", error);
168168
if (callback) {
169169
callback({
170-
text: `Error during name to address conversion: ${error.message}`,
171-
content: { error: error.message },
170+
text: "An error occurred during name to address conversion.",
171+
content: { error: "ConversionError" },
172172
});
173173
}
174174
return false;

0 commit comments

Comments
 (0)