Skip to content

Commit 8feddd3

Browse files
antfuCopilot
andauthored
Update packages/self-inspect/src/app/composables/rpc.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f7683fd commit 8feddd3

File tree

1 file changed

+2
-2
lines changed
  • packages/self-inspect/src/app/composables

1 file changed

+2
-2
lines changed

packages/self-inspect/src/app/composables/rpc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export async function connect() {
3939
rpcOptions: {
4040
onGeneralError: (e, name) => {
4141
connectionState.error = e
42-
console.error(`[self-inspect] RPC error on executing "${name}":`)
42+
console.error(`[self-inspect] RPC error on executing "${name}":`, e)
4343
},
4444
onFunctionError: (e, name) => {
4545
connectionState.error = e
46-
console.error(`[self-inspect] RPC error on executing "${name}":`)
46+
console.error(`[self-inspect] RPC error on executing "${name}":`, e)
4747
},
4848
},
4949
})

0 commit comments

Comments
 (0)