Skip to content

Commit 99d794c

Browse files
Update error message
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent b6aa41d commit 99d794c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

extensions/ql-vscode/src/databases-ui.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,11 @@ export class DatabaseUI extends DisposableObject {
384384
}
385385
} catch (e) {
386386
// rethrow and let this be handled by default error handling.
387-
throw new Error(`Could not set database: ${getErrorMessage(e)}`);
387+
throw new Error(
388+
`Could not set the database for the Code Tour. Please make sure you are using the default workspace in your codespace: ${getErrorMessage(
389+
e,
390+
)}`,
391+
);
388392
}
389393
};
390394

0 commit comments

Comments
 (0)