We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d360153 commit 4680614Copy full SHA for 4680614
extensions/ql-vscode/src/databaseFetcher.ts
@@ -158,7 +158,11 @@ export async function importArchiveDatabase(
158
);
159
}
160
} catch (e) {
161
- showAndLogErrorMessage(e.message);
+ if (e.message.includes("unexpected end of file")) {
162
+ showAndLogErrorMessage("Database is corrupt or too large. Try unzipping outside of VS Code and importing the unzipped folder instead.");
163
+ } else {
164
+ showAndLogErrorMessage(e.message);
165
+ }
166
167
return item;
168
0 commit comments