diff --git a/app/Controller/v3/WithdrawController.php b/app/Controller/v3/WithdrawController.php index 5692ae9..fb5b2b9 100644 --- a/app/Controller/v3/WithdrawController.php +++ b/app/Controller/v3/WithdrawController.php @@ -194,7 +194,7 @@ class WithdrawController extends BaseController 'withdraw' => json_encode($withdraw), 'params' => json_encode(['balance' => $balance->balance, 'user_id' => $userId, 'store_id' => $storeId]), ]); - throw new ErrorCodeException(ErrorCode::STORE_WITHDRAW_FAIL, '-'.$e->getMessage()); + throw new ErrorCodeException(ErrorCode::WITHDRAW_PAYMENT_FAIL); } }