feat(PaymentLogic): 异常信息增加日志记录

This commit is contained in:
mkm 2024-06-05 09:46:28 +08:00
parent aba84bb920
commit d4b3352a5f

View File

@ -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;
}