improve manager-entries failure message

This commit is contained in:
Yann Braga 2022-12-16 12:37:07 +01:00
parent 1bac7bbfc3
commit 108bad5d74

View File

@ -82,7 +82,7 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
js: 'try{',
},
footer: {
js: '}catch(e){ console.log("ONE OF YOUR MANAGER-ENTRIES FAILED: " + import.meta.url) }',
js: '}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url); throw e; }',
},
define: {