Skip to content

Commit

Permalink
Don't throw RequestException after retries
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfietje committed Nov 13, 2022
1 parent e07e586 commit d06e3a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.4.3] - 2022-11-13

### Fixed

- Don't throw `RequestException` after retries.

## [0.4.2] - 2022-09-06

### Fixed
Expand Down Expand Up @@ -80,6 +86,7 @@

- TrackPageview middleware.

[0.4.3]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.4.3
[0.4.2]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.4.2
[0.4.1]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.4.1
[0.4.0]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.4.0
Expand Down
1 change: 1 addition & 0 deletions src/Pirsch.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static function track(
->retry(
times: 3,
sleepMilliseconds: 100,
throw: false,
)
->post(
url: 'https://api.pirsch.io/api/v1/'.($name === null ? 'hit' : 'event'),
Expand Down

0 comments on commit d06e3a2

Please sign in to comment.