On 7/2/25 15:53, Christoph Heiss wrote:
> 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.

Ah, sorry, I was confusing it with {:?}


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to