fix: quiet auth probe diagnostics
This commit is contained in:
1 parent
6fba598eaf
commit
242add587f
4 files changed
+23
-12
No files matched your search
@@ -68,9 +68,12 @@ function drainLane(lane: string) {
|
||||
entry.resolve(result);
|
||||
} catch (err) {
|
||||
state.active -= 1;
|
||||
diag.error(
|
||||
`lane task error: lane=${lane} durationMs=${Date.now() - startTime} error="${String(err)}"`,
|
||||
);
|
||||
const isProbeLane = lane.startsWith("auth-probe:") || lane.startsWith("session:probe-");
|
||||
if (!isProbeLane) {
|
||||
diag.error(
|
||||
`lane task error: lane=${lane} durationMs=${Date.now() - startTime} error="${String(err)}"`,
|
||||
);
|
||||
}
|
||||
pump();
|
||||
entry.reject(err);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user