diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:35 +0000 |
commit | cddcdba3c9be7e32454d0c54efd1d60e7cef7518 (patch) | |
tree | 485d573becbe08ff71189381739483cdb57cf949 /library/Graphite/Graphing/MetricsQuery.php | |
parent | Adding upstream version 1.2.2. (diff) | |
download | icingaweb2-module-graphite-upstream/1.2.4.tar.xz icingaweb2-module-graphite-upstream/1.2.4.zip |
Adding upstream version 1.2.4.upstream/1.2.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/Graphite/Graphing/MetricsQuery.php')
-rw-r--r-- | library/Graphite/Graphing/MetricsQuery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Graphite/Graphing/MetricsQuery.php b/library/Graphite/Graphing/MetricsQuery.php index da05c17..93d0c90 100644 --- a/library/Graphite/Graphing/MetricsQuery.php +++ b/library/Graphite/Graphing/MetricsQuery.php @@ -71,7 +71,7 @@ class MetricsQuery implements Queryable, Filterable, Fetchable try { $this->base = $target instanceof MacroTemplate ? $target : new MacroTemplate((string) $target); } catch (InvalidArgumentException $e) { - throw new InvalidArgumentException('Bad target', $e); + throw new InvalidArgumentException('Bad target', $e->getCode(), $e); } return $this; |