Skip to content

Commit

Permalink
style: add tip for tailchat sdk client
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Nov 17, 2023
1 parent e0f9f5d commit 6ea7ca8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export class TailchatBaseClient {
// this.whoami().then(console.log);
} catch (err) {
console.error(err);
throw new Error('Login failed, please check application credentials');
throw new Error(
`Login failed, please check application credentials or network(Error: ${String(
err
)})`
);
}
}

Expand Down

0 comments on commit 6ea7ca8

Please sign in to comment.