Skip to content

Commit abbb0ad

Browse files
Add trace information when Exception occurs on service call
1 parent eb83b69 commit abbb0ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

library/AcceptanceTestCase.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,10 @@ public function callShopSC(
16151615
try {
16161616
$mResponse = $oServiceCaller->callService('ShopObjectConstructor', $sShopId);
16171617
} catch (Exception $oException) {
1618-
$this->fail("Exception caught calling ShopObjectConstructor with message: '{$oException->getMessage()}'");
1618+
$this->fail(
1619+
"Exception caught calling ShopObjectConstructor with message: '{$oException->getMessage()}
1620+
\n{$oException->getTraceAsString()}'"
1621+
);
16191622
}
16201623

16211624
return $mResponse;

0 commit comments

Comments
 (0)