Skip to content

console.error call during retry cannot be disabled #684

@natethelen

Description

@natethelen

In src/services/decorators/RetryDecorator.ts in _waitAfterRequestFailure there is a console.error that happens when a request fails and will be retried. My issue with this:

  1. It isn't really an error as the request is going to be retried and could succeed later. At best is should console.warn
  2. It can't be disabled. This means that companies who alert based on errors in their server-side logs have to account for it via filters
  3. It doesn't say "hubspot" anywhere and consequently it can be hard to figure out where the error is coming from

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions