From c62a74a63537039d52008d4dfc86dbc7b567e2e7 Mon Sep 17 00:00:00 2001 From: Matthias Kesler Date: Wed, 15 Jan 2025 14:19:16 +0100 Subject: [PATCH] print available workspaces if there might be a typo --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 1f7ff88..8732e06 100644 --- a/src/main.ts +++ b/src/main.ts @@ -210,7 +210,7 @@ export class TogglTrack extends InstanceBase { if (this.workspaceId == undefined) { // no workspace found this.log('debug', 'workspace not found. Response: ' + JSON.stringify(workspaces)) - this.updateStatus(InstanceStatus.BadConfig, 'No workspace found') + this.updateStatus(InstanceStatus.BadConfig, 'Available Workspaces: ' + workspaces.map((ws) => ws.name).join(',')) return }