We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 653f9e3 commit 869d35eCopy full SHA for 869d35e
ravenpackapi/models/mapping.py
@@ -19,6 +19,8 @@ def __init__(self, data):
19
self.candidates = [
20
RPMappingCandidate(candidate) for candidate in data.get("rp_entities", [])
21
]
22
+ if not self.candidates and not self.errors:
23
+ self.errors = [self.request]
24
25
if not self.errors:
26
# let's put the best candidate data on the obj for convenience
0 commit comments