Keep track of how many messages fail gateway validation.

This commit is contained in:
James Muscat committed 2015-04-14 17:06:26 +01:00
1 parent 02f1ebc307
commit 4c314a9b9b
1 file changed
+1
+1
View File
@@ -146,6 +146,7 @@ def parse_and_error_handle(data):
return 'OK'
else:
response.status = 400
statsCollector.tally("invalid")
return "FAIL: " + str(validationResults.messages)