Skip to content

Commit 78d6f64

Browse files
committed
fix other instance
1 parent 2d3dfbb commit 78d6f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightbeam/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async def validate_endpoint(self, endpoint):
234234

235235

236236
async def do_validate_payload(self, endpoint, file_name, data, line_counter):
237-
if self.lightbeam.num_errors >= self.fail_fast_threshold: return
237+
if self.fail_fast_threshold is not None and self.lightbeam.num_errors >= self.fail_fast_threshold: return
238238
definition = self.get_swagger_definition_for_endpoint(endpoint)
239239
if "Descriptor" in endpoint:
240240
swagger = self.lightbeam.api.descriptors_swagger

0 commit comments

Comments
 (0)