Skip to content

Commit

Permalink
don't print signal handlers on every run
Browse files Browse the repository at this point in the history
fixes release build test
  • Loading branch information
WebFreak001 committed Nov 4, 2022
1 parent 6a6ea19 commit f381bfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/crash_handler.d
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ static if (BacktraceHandler)
])
signal(sig, &backtrace_handler);

fprintf(stderr, "Registered backtrace signal handlers\n");
// this is print on every invocation of serve-d, so we only print this in unittests and assume it works elsewhere
version (unittest)
fprintf(stderr, "Registered backtrace signal handlers\n");
}

shared static this()
Expand Down

0 comments on commit f381bfa

Please sign in to comment.