]> git.proxmox.com Git - pve-storage.git/commitdiff
cleanup: do not convert exceptions to strings.
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Aug 2018 09:39:35 +0000 (11:39 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Aug 2018 09:39:35 +0000 (11:39 +0200)
PVE/API2/Disks/LVM.pm

index baf3365b0a4859f6e46e70d09e032ea5e154924e..fef5c60b89689ea6d5904c14a8198aa7afa237f4 100644 (file)
@@ -169,7 +169,7 @@ __PACKAGE__->register_method ({
                }
            });
 
-           die "$@" if $@;
+           die $@ if $@;
        };
 
        return $rpcenv->fork_worker('lvmcreate', $name, $user, $worker);