]> git.proxmox.com Git - pve-cluster.git/commit
cfs lock: avoid confusing lock prefix on error
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 19:38:26 +0000 (21:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 19:40:30 +0000 (21:40 +0200)
commite085fe6f9f4afcaf08c739a5b45cf26632e0bfb4
tree5060fb5fa092bccd1499d9249a30c9b78e715b35
parent49426115036ecc54ebcb174d37e6bc2c0c17d158
cfs lock: avoid confusing lock prefix on error

we have lots of forum posts where users think that the locking was
the error, not the actual error message from the called code.

This has limited value as general-applied prefix, if a code requires
the lockid or whatever to be included in the error message they can
already do so, so just re-raise the error and be done, at least if it
is a error from the code and not from the lock setup,.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm