Skip to content

Commit

Permalink
remove debug transport tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jennmueng committed Feb 16, 2021
1 parent 3671d9e commit a85d495
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/js/transports/cordova.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ export class CordovaTransport implements Transport {
*/
// @ts-ignore TODO: Need new JS version bump that uses PromiseLike instead of Promise otherwise this will error
public sendEvent(event: Event): PromiseLike<Response> {
// @ts-ignore TODO: For temporary debug purposes, DONT FORGET TO REMOVE!
event.tags = {
...(event.tags ?? {}),
isNativeTransportAvailable: `${NATIVE.isNativeTransportAvailable()}`,
};

if (NATIVE.isNativeTransportAvailable()) {
if (!this._buffer.isReady()) {
return Promise.reject(new SentryError('Not adding Promise due to buffer limit reached.'));
Expand Down

0 comments on commit a85d495

Please sign in to comment.