Skip to content

Commit fb5ecab

Browse files
author
Tom Reitz
committed
updates per review from John
1 parent e58942d commit fb5ecab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lightbeam/validate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ async def validate_endpoint(self, endpoint):
208208

209209

210210
async def do_validate_payload(self, endpoint, file_name, data, line_counter):
211+
if self.lightbeam.num_errors >= self.fail_fast_threshold: return
211212
definition = self.get_swagger_definition_for_endpoint(endpoint)
212213
if "Descriptor" in endpoint:
213214
swagger = self.lightbeam.api.descriptors_swagger

0 commit comments

Comments
 (0)