Skip to content

Commit

Permalink
Merge pull request #24880 from taozhou-glean/tao-warnOnIncompatibleAd…
Browse files Browse the repository at this point in the history
…dons

Core: Make warnOnIncompatibleAddons fault-tolerant
  • Loading branch information
yannbf authored Nov 22, 2023
2 parents 87778f8 + 31478ef commit c344ce3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/lib/core-server/src/build-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ export async function buildDevStandalone(

corePresets.push(join(frameworkName, 'preset'));

await warnOnIncompatibleAddons(config);
try {
await warnOnIncompatibleAddons(config);
} catch (e) {
console.warn('Storybook failed to check addon compatibility', e);
}

// Load first pass: We need to determine the builder
// We need to do this because builders might introduce 'overridePresets' which we need to take into account
Expand Down

0 comments on commit c344ce3

Please sign in to comment.