patrol
patrol copied to clipboard
[docs] The "Ignoring Exceptions" section in the "Tips & Tricks" page has a mistake
There is a snippet on this page that reads:
var exceptionCount = 0;
dynamic exception = $.tester.takeException();
while (exception != null) {
exceptionCount++;
exception = $.tester.takeException();
}
if (exceptionCount != 0) {
$.log('Warning: $exceptionCount exceptions were ignored');
}
However, the PatrolTester and PatrolIntegrationTester classes do not have a log method.
Ah, thanks. There should be print() instead
This method exists now, closing
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.