src/raygun.utilities/errorUtilities.js
/**
     * Check if any lines in the stack are valid, i.e. they do not match the criteria of having a null/zero line and
     * column number and do not have a url equal to the current url with a function name of '?'.
     *
     * This is to filter out a common pattern of errors triggered in browser extensions or by bots/crawlers.
     *
     * @param stackTrace
     * @returns {boolean}
     */
Check if any lines in the stack are valid, i.e. they do not match the criteria of having a null/zero line and
column number and do not have a url equal to the current url with a function name of '?'.

This is to filter out a common pattern of errors triggered in browser extensions or by bots/crawlers.

@param stackTrace
@returns {boolean}
Check if any lines in the stack are valid i . e . they do not match the criteria of having a null / zero line and column number and do not have a url equal to the current url with a function name of ' ? ' . This is to filter out a common pattern of errors triggered in browser extensions or by bots / crawlers . @param stackTrace @returns { boolean }
function isValidStackTrace(stackTrace) {
      var stack = stackTrace.stack;
      if (utils.isNil(stackTrace.message) || utils.isEmpty(stack)) {
        return false;
      }
      return utils.any(stack, isValidStackLine);
    }
function isValidStackTrace ( stackTrace ) { var stack = stackTrace . stack ; if ( utils . isNil ( stackTrace . message ) || utils . isEmpty ( stack ) ) { return false ; } return utils . any ( stack , isValidStackLine ) ; }
Check if any lines in the stack are valid, i.e.
Check if any lines in the stack are valid i . e .