mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
Merge pull request #12690 from mathieudutour/patch-1
Core: Log which CSF file is failing to load
This commit is contained in:
commit
986f6d64c2
@ -57,7 +57,7 @@ const loadStories = (
|
||||
typeof req.resolve === 'function' ? req.resolve(filename) : filename
|
||||
);
|
||||
} catch (error) {
|
||||
logger.warn(`Unexpected error: ${error}`);
|
||||
logger.warn(`Unexpected error while loading ${filename}: ${error}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user