diff --git a/app/Controller/v3/WithdrawController.php b/app/Controller/v3/WithdrawController.php index 3671a91..5692ae9 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); + throw new ErrorCodeException(ErrorCode::STORE_WITHDRAW_FAIL, '-'.$e->getMessage()); } }