File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ public function testKeysAction()
108
108
'data ' => $ logData ,
109
109
]
110
110
);
111
-
112
- die ( $ backendOutput );
111
+ echo $ backendOutput ;
112
+ ob_clean ( );
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ public function updateAction()
55
55
$ this ->logger ->info ($ importCount . ' Payment Methods have been successfully imported in Backend ' );
56
56
57
57
$ message = sprintf ('%d Payment Methods were imported/updated ' , $ importCount );
58
-
59
- die ( $ message );
58
+ echo $ message ;
59
+ ob_clean ( );
60
60
} catch (\Exception $ e ) {
61
61
$ this ->logger ->error (
62
62
'Error when importing payment methods in Backend ' ,
@@ -66,7 +66,8 @@ public function updateAction()
66
66
);
67
67
68
68
http_response_code (500 );
69
- die ($ e ->getMessage ());
69
+ echo $ e ->getMessage ();
70
+ ob_clean ();
70
71
}
71
72
}
72
73
You can’t perform that action at this time.
0 commit comments