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 2eafba4 commit 4f649c4Copy full SHA for 4f649c4
src/model/api/api-store.ts
@@ -167,6 +167,12 @@ export class ApiStore {
167
publicApiCache[specId] = fetchApiMetadata(specId)
168
.then(buildApiMetadataAsync)
169
.catch((e) => {
170
+ if (e.message === 'Failed to fetch') {
171
+ // This is a network error, not a spec error. Don't log it.
172
+ console.warn('Failed to fetch API spec', specId, e);
173
+ throw e;
174
+ }
175
+
176
console.log(`Failed to build API ${specId}`);
177
logError(e, {
178
apiSpecId: specId
0 commit comments