feat(PaymentLogic): 异常信息增加日志记录
This commit is contained in:
parent
aba84bb920
commit
d4b3352a5f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user