Skip to content

Commit 9bb878a

Browse files
committed
- Error-Message json_encoden
1 parent 9444746 commit 9bb878a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SAP/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function executeSave(SAP_Module_Abstract $module) {
398398
$successState = @saprfc_table_read($moduleResource, 'RETURN', 1);
399399
//
400400
if (!empty($successState['TYPE']) && $successState['TYPE'] == 'E') {
401-
throw new SAP_Exception(print_r($successState, true));
401+
throw new SAP_Exception(json_encode($successState));
402402
}
403403

404404
$result = array();

0 commit comments

Comments
 (0)