fix(#1397): point send-refused message at <parent> sentinel not stale manager name
This commit is contained in:
parent
330fdf8dc7
commit
b33b3f315c
1 changed files with 4 additions and 3 deletions
|
|
@ -1960,9 +1960,10 @@ fn check_send_allowed(to: &str) -> Result<(), String> {
|
|||
}
|
||||
Err(format!(
|
||||
"send refused: recipient '{to}' not in hyperhive.allowedRecipients \
|
||||
(configured in agent.nix). Allowed: {allow:?}. The manager is \
|
||||
always reachable — route through `send(to: \"manager\", …)` if \
|
||||
you need to reach someone outside the allow-list."
|
||||
(configured in agent.nix). Allowed: {allow:?}. Your structural \
|
||||
parent is always reachable — route through `send(to: \"{}\", …)` \
|
||||
if you need to reach someone outside the allow-list.",
|
||||
hive_sh4re::PARENT_RECIPIENT
|
||||
))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue