From ceefdfc8a132bc1f699055de9f8ef809604863d0 Mon Sep 17 00:00:00 2001 From: victorvassilev Date: Tue, 30 Oct 2018 12:38:30 +0200 Subject: [PATCH] fix(remote-server): fix incorrect variable name (#6915) change exception variable name in output of fail clapi import process --- src/CentreonRemote/Application/Clapi/CentreonRemoteServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CentreonRemote/Application/Clapi/CentreonRemoteServer.php b/src/CentreonRemote/Application/Clapi/CentreonRemoteServer.php index be74a4ca523..771ede91d29 100644 --- a/src/CentreonRemote/Application/Clapi/CentreonRemoteServer.php +++ b/src/CentreonRemote/Application/Clapi/CentreonRemoteServer.php @@ -88,7 +88,7 @@ public function import() echo "Success\n"; } catch (\Exception $ex) { echo "Fail:\n"; - echo $e->__toString()."\n"; + echo $ex->__toString()."\n"; } echo "\n Centreon Remote import finished.\n";