Skip to content

Commit 2c9d930

Browse files
Fix errors being sent to sentry while reconnecting
1 parent 0a9bd29 commit 2c9d930

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Api/Clients/TiteLive/TiteLiveClient.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ private function login(): array
199199
];
200200
});
201201
} catch (\Exception $e) {
202-
report($e);
203202
throw new TiteLiveApiCredentialsException('Could not login to titelive apis');
204203
}
205204
}
@@ -220,7 +219,6 @@ private function getAuthToken(): string
220219
return $res->json('token');
221220
});
222221
} catch (\Exception $e) {
223-
report($e);
224222
if ($e instanceof RequestException) {
225223
Log::error($e->response?->getBody());
226224
}

0 commit comments

Comments
 (0)