Re: [pve-devel] [PATCH storage 1/1] esxi: improve error handling for fuse mount tool

2024-05-10 Thread Dominik Csapak
On 5/8/24 16:43, Thomas Lamprecht wrote: On 08/05/2024 14:41, Dominik Csapak wrote: if the fuse tool encounters an error early, it prints it like: Error: some error message on stderr. We can capture that here by redirecting STDERR to $wr and die'ing with using just a variable name like $w

Re: [pve-devel] [PATCH storage 1/1] esxi: improve error handling for fuse mount tool

2024-05-08 Thread Thomas Lamprecht
On 08/05/2024 14:41, Dominik Csapak wrote: > if the fuse tool encounters an error early, it prints it like: >Error: some error message > on stderr. > > We can capture that here by redirecting STDERR to $wr and die'ing with using just a variable name like $wr without context in a commit messag

[pve-devel] [PATCH storage 1/1] esxi: improve error handling for fuse mount tool

2024-05-08 Thread Dominik Csapak
if the fuse tool encounters an error early, it prints it like: Error: some error message on stderr. We can capture that here by redirecting STDERR to $wr and die'ing with the error message. With this we die with the original error message instead of only with the return code which is telling t