Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
i582 committed Jan 20, 2025
1 parent 817a09f commit f47ae0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pipeline/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ export async function build(args: {
} catch (e) {
logger.error("Tact compilation failed");
// show an error with a backtrace only in verbose mode
if (e instanceof TactError && config.verbose && config.verbose >= 2) {
if (
e instanceof TactError &&
config.verbose &&
config.verbose >= 2
) {
logger.error(e.message);
} else {
logger.error(e as Error);
Expand Down

0 comments on commit f47ae0d

Please sign in to comment.