Skip to content

Commit 8d9c2bf

Browse files
authored
ref(browser): Remove dup isDebugBuild (#4826)
1 parent 68fa16c commit 8d9c2bf

File tree

1 file changed

+1
-1
lines changed
  • packages/browser/src/transports

1 file changed

+1
-1
lines changed

packages/browser/src/transports/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export abstract class BaseTransport implements Transport {
171171

172172
this._rateLimits = updateRateLimits(this._rateLimits, headers);
173173
// eslint-disable-next-line deprecation/deprecation
174-
if (this._isRateLimited(requestType) && isDebugBuild()) {
174+
if (this._isRateLimited(requestType)) {
175175
isDebugBuild() &&
176176
// eslint-disable-next-line deprecation/deprecation
177177
logger.warn(`Too many ${requestType} requests, backing off until: ${this._disabledUntil(requestType)}`);

0 commit comments

Comments
 (0)