Display clean meesage if Billing setting is not set in Payment list
MODIFY
src/server/rest/v1/service/BillingService.ts
src/server/rest/v1/service/BillingService.ts
@@ -553,7 +553,7 @@ export default class BillingService {
const billingImpl = await BillingFactory.getBillingImpl(req.tenant);
if (!billingImpl) {
throw new AppError({
- errorCode: HTTPError.GENERAL_ERROR,
+ errorCode: HTTPError.MISSING_SETTINGS,
message: 'Billing service is not configured',
module: MODULE_NAME, method: 'handleBillingGetPaymentMethods',
action: action,

Display clean meesage if Billing setting is not set in Payment list