Skip to content

Commit f0d23d3

Browse files
committed
chore(sentry): Shut up sentry warnings
1 parent c13d16f commit f0d23d3

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ NEXT_PUBLIC_KEYCLOAK_DM_USER_ROLE='data-manager-user'
2222
NEXT_PUBLIC_KEYCLOAK_AS_USER_ROLE='account-server-user'
2323

2424
NEXT_PUBLIC_LOCAL_STORAGE_PREFIX='data-manager-ui'
25+
26+
SENTRY_IGNORE_API_RESOLUTION_ERROR=1

pages/api/auth/[...auth0].ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ export default withSentry(
1919
},
2020
}),
2121
);
22+
23+
export const config = {
24+
api: {
25+
externalResolver: true,
26+
},
27+
};

pages/api/dataset/[datasetId]/[datasetVersion].ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ export default withSentry(
1515
}
1616
}),
1717
);
18+
19+
export const config = {
20+
api: {
21+
externalResolver: true,
22+
},
23+
};

pages/api/project/[projectId]/file.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ export default withSentry(
2020
}
2121
}),
2222
);
23+
24+
export const config = {
25+
api: {
26+
externalResolver: true,
27+
},
28+
};

0 commit comments

Comments
 (0)