diff --git a/app/common/logic/PaymentLogic.php b/app/common/logic/PaymentLogic.php index cbfb33b1e..124ece936 100644 --- a/app/common/logic/PaymentLogic.php +++ b/app/common/logic/PaymentLogic.php @@ -62,8 +62,8 @@ class PaymentLogic extends BaseLogic $result = false; } } catch (Exception $e) { - \support\Log::info($e->extra['message']); - throw new \Exception($e->extra['message']); + \support\Log::info($e->extra['message']?? $e->getMessage()); + throw new \Exception($e->extra['message']?? $e->getMessage()); } return $result; }