Update error message

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
Elena Tanasoiu
2023-02-01 16:59:22 +00:00
parent b6aa41d19b
commit 99d794c2a8

View File

@@ -384,7 +384,11 @@ export class DatabaseUI extends DisposableObject {
}
} catch (e) {
// rethrow and let this be handled by default error handling.
throw new Error(`Could not set database: ${getErrorMessage(e)}`);
throw new Error(
`Could not set the database for the Code Tour. Please make sure you are using the default workspace in your codespace: ${getErrorMessage(
e,
)}`,
);
}
};