Skip to content

Incorrect error reason when syncing check-ins #223

@stympy

Description

@stympy

We had a customer attempt to sync a check-ins config that had some check-ins using cron scheduling, but their account didn't support that feature, so the API returned an error. The client reported the error as "You have hit your exception rate limit.", which isn't correct.

php artisan honeybadger:checkins:sync

   Honeybadger\Exceptions\ServiceException

  You have hit your exception rate limit.

  at vendor/honeybadger-io/honeybadger-php/src/Exceptions/ServiceException.php:31
     27▕      * @return ServiceException
     28▕      */
     29▕     public static function rateLimit(): self
     30▕     {
  ➜  31▕         return new static('You have hit your exception rate limit.');
     32▕     }
     33▕
     34▕     /**
     35▕      * @return ServiceException

      +20 vendor frames

  21  artisan:13
      Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))

Front logo Front conversations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions