From 3634991bea549e73c45a964c38f30ceeae6ed877 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 12 Apr 2020 16:22:30 +0200 Subject: [PATCH] Tweak the code to avoid fabbot false positives --- Definition/BaseNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Definition/BaseNode.php b/Definition/BaseNode.php index bf57a9fa1..1f6ef7f83 100644 --- a/Definition/BaseNode.php +++ b/Definition/BaseNode.php @@ -335,7 +335,7 @@ final public function finalize($value) } catch (Exception $e) { throw $e; } catch (\Exception $e) { - throw new InvalidConfigurationException(sprintf('Invalid configuration for path "%s": %s.', $this->getPath(), $e->getMessage()), $e->getCode(), $e); + throw new InvalidConfigurationException(sprintf('Invalid configuration for path "%s": '.$e->getMessage(), $this->getPath()), $e->getCode(), $e); } }