Skip to content

Commit 36d34b1

Browse files
committed
lint
1 parent 9a16758 commit 36d34b1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type { OfflineStore, OfflineTransportOptions } from './transports/offline
44
export type { ServerRuntimeClientOptions } from './server-runtime-client';
55

66
export * from './tracing';
7-
export {createEventEnvelope} from './envelope';
7+
export { createEventEnvelope } from './envelope';
88
export {
99
addBreadcrumb,
1010
captureCheckIn,

packages/feedback/src/util/handleFeedbackSubmit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { TransportMakeRequestResponse } from '@sentry/types';
2+
import { logger } from '@sentry/utils';
23

34
import { sendFeedback } from '../sendFeedback';
45
import type { FeedbackFormData, SendFeedbackOptions } from '../types';
@@ -32,8 +33,7 @@ export async function handleFeedbackSubmit(
3233
// Success!
3334
return resp;
3435
} catch (err) {
35-
console.error(err);
36-
// Errored... re-enable submit button
36+
logger.error(err);
3737
showFetchError();
3838
}
3939
}

packages/types/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export type {
7070
Profile,
7171
} from './profiling';
7272
export type { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './replay';
73-
export type {FeedbackEvent} from './feedback';
73+
export type { FeedbackEvent } from './feedback';
7474
export type { QueryParams, Request, SanitizedRequestData } from './request';
7575
export type { Runtime } from './runtime';
7676
export type { CaptureContext, Scope, ScopeContext } from './scope';

0 commit comments

Comments
 (0)