Skip to content

Commit ef8b289

Browse files
committed
cleanup error format
1 parent 2979c21 commit ef8b289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/serve-instrument/src/server.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class InstrumentLoader {
7777
log(chalk.green('✓') + chalk.dim(' Bundle ready') + timing);
7878
} catch (err) {
7979
const formattedError = err instanceof Error ? formatError(err) : err;
80-
logError(chalk.red('✘') + chalk.bold.red(' Failed to compile instrument'));
81-
logError(chalk.dim(String(formattedError)));
80+
logError(chalk.dim(String(formattedError)) + '\n');
81+
logError(chalk.red('✘') + chalk.bold.red(' Error: Failed to compile instrument'));
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)