Skip to content

Commit

Permalink
Log storybookBaseDir value on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed May 8, 2024
1 parent 71f6fc6 commit 3d44093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node-src/lib/checkStorybookBaseDir.ts
Expand Up @@ -40,6 +40,7 @@ export async function checkStorybookBaseDir(ctx: Context, stats: Stats) {
})
);
} catch (err) {
ctx.log.debug(`Invalid storybookBaseDir: ${storybookBaseDir}`);
setExitCode(ctx, exitCodes.INVALID_OPTIONS, true);
throw new Error(invalidStorybookBaseDir());
}
Expand Down

0 comments on commit 3d44093

Please sign in to comment.