summaryrefslogtreecommitdiffstats
path: root/library/Director/Core/RestApiResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Core/RestApiResponse.php')
-rw-r--r--library/Director/Core/RestApiResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Director/Core/RestApiResponse.php b/library/Director/Core/RestApiResponse.php
index 523ed35..43516f7 100644
--- a/library/Director/Core/RestApiResponse.php
+++ b/library/Director/Core/RestApiResponse.php
@@ -113,7 +113,7 @@ class RestApiResponse
throw new IcingaException('API request failed: ' . $result->status);
}
} else {
- throw new IcingaException('API request failed: ' . var_export($result, 1));
+ throw new IcingaException('API request failed: ' . var_export($result, true));
}
}