Log egress block reason to stderr #203
Reference in New Issue
Block a user
Delete Branch "log-egress-block-reason"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
decision.reasonwas sent back to the client as the HTTP 403 body but never written to the sidecar logs. This adds asys.stderr.writecall so the block reason appears in container logs alongside the client-facing message.