Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

improve row color condition error

Fendy Heryanto9af197bdd004
diff --git a/packages/nocodb/src/services/v3/filters-v3.service.ts b/packages/nocodb/src/services/v3/filters-v3.service.ts
index e74c0e06fd..3ac99f54a8 100644
--- a/packages/nocodb/src/services/v3/filters-v3.service.ts
+++ b/packages/nocodb/src/services/v3/filters-v3.service.ts
@@ -330,9 +330,8 @@ export class FiltersV3Service {
ncMeta,
);
if (!rowColorCondition) {
- // TODO: better error
NcError.get(context).invalidRequestBody(
- `Row color condition not found`,
+ `Row color condition with id ${param.rowColorConditionId} not found`,
);
}
additionalProps = {