We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b4ca1 commit 0c5b8d5Copy full SHA for 0c5b8d5
src/local-ssh/ipc/localssh.ts
@@ -82,9 +82,9 @@ export class LocalSSHServiceImpl implements LocalSSHServiceImplementation {
82
83
public async getWorkspaceAuthInfo(workspaceId: string) {
84
return retryWithStop((stop) => {
85
- const getAuthInfo = (id: string, client: Client<ExtensionServiceDefinition>) => {
+ const getAuthInfo = async (id: string, client: Client<ExtensionServiceDefinition>) => {
86
try {
87
- return client.getWorkspaceAuthInfo({ workspaceId });
+ return await client.getWorkspaceAuthInfo({ workspaceId });
88
} catch (e) {
89
if (e instanceof ServerError) {
90
if (e.code === Status.UNAVAILABLE && e.details.startsWith('workspace is not running')) {
0 commit comments