fix: timeout cancelled messsages instead of displaying them in the minilog
This commit is contained in:
parent
1d418db9b4
commit
b2c12ba337
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) tp.result {
|
||||||
if (try m.match(.{ "exit", "normal" }))
|
if (try m.match(.{ "exit", "normal" }))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (try m.match(.{ "exit", "timeout_error", 125, "Operation aborted." }))
|
||||||
|
return;
|
||||||
|
|
||||||
return tp.unexpected(m);
|
return tp.unexpected(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue