On Wed Jul 2, 2025 at 3:42 PM CEST, Stefan Hanreich wrote: > On 6/30/25 13:23, Christoph Heiss wrote: >> Currently, this will only log something like >> >> error updating firewall rules: cannot execute nftables commands >> >> which, by itself, is pretty unhelpful. `anyhow` errors have context, so >> show that too. > > How much additional lines in the log would that be?
This should not result in any extra lines, as the {:#} specifier puts everything on one line [0]. As long as the individual messages/contexts don't have newlines in them (which they shouldn't), of course. [0] https://docs.rs/anyhow/latest/anyhow/struct.Error.html _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel