mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 04:55:30 +03:00
improve matching filter error message (#7578)
## Context This can be thrown when a type is not properly supported by isRecordMatchingFilter. This should not happen but for some workspaces with legacy types this should help debugging.
This commit is contained in:
parent
43a0006947
commit
17463434d6
@ -290,7 +290,9 @@ export const isRecordMatchingFilter = ({
|
||||
);
|
||||
}
|
||||
default: {
|
||||
throw new Error('Not implemented yet');
|
||||
throw new Error(
|
||||
`Not implemented yet for field type "${objectMetadataField.type}"`,
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user