Skip to content

Commit 001520e

Browse files
committed
reproduction of issue getsentry/sentry-javascript#12237
0 parents  commit 001520e

File tree

6 files changed

+2039
-0
lines changed

6 files changed

+2039
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import OpenAI from "openai";
2+
3+
const openai = new OpenAI(process.env.OPENAI_API_KEY);
4+
5+
export default openai;

instrumentation.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import * as Sentry from "@sentry/node";
2+
3+
Sentry.init({
4+
dsn: "https://[email protected]/6779396",
5+
enabled: false,
6+
});

0 commit comments

Comments
 (0)