Skip to content

Commit 3422f8c

Browse files
Merge branch 'master' into dx
2 parents 744983b + e9c20d4 commit 3422f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SoapClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function __call($functionName, $arguments = null)
202202
try {
203203
$result = parent::__call($functionName, $arguments, null, $this->_headers, null);
204204
} catch (\SoapFault $e) {
205-
throw new \Exception('There was an error querying the SoftLayer API: '.$e->getMessage());
205+
throw new \Exception('There was an error querying the SoftLayer API: ' . $e->getMessage(), 0, $e);
206206
}
207207

208208
if ($this->_asynchronous) {

0 commit comments

Comments
 (0)