Skip to content

Commit

Permalink
Ignoring any exceptions from the API, more of a fire and forget
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSteveKing committed Apr 25, 2024
1 parent eeb984f commit b7ba2c4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Treblle.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,5 @@ public static function log(Endpoint $endpoint, Data $data, string $projectId = n
url: $endpoint->value,
data: $data,
);

if ($response->failed()) {
throw new TreblleApiException(
message: $response->reason(),
previous: $response->toException(),
);
}
}
}

0 comments on commit b7ba2c4

Please sign in to comment.