From fc1880566c24823763be660b71ccfbf49158381b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 2 Aug 2018 11:39:35 +0200 Subject: [PATCH] cleanup: do not convert exceptions to strings. --- PVE/API2/Disks/LVM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Disks/LVM.pm b/PVE/API2/Disks/LVM.pm index baf3365..fef5c60 100644 --- a/PVE/API2/Disks/LVM.pm +++ b/PVE/API2/Disks/LVM.pm @@ -169,7 +169,7 @@ __PACKAGE__->register_method ({ } }); - die "$@" if $@; + die $@ if $@; }; return $rpcenv->fork_worker('lvmcreate', $name, $user, $worker);