Skip to content

Commit

Permalink
reproduction of issue getsentry/sentry-javascript#12237
Browse files Browse the repository at this point in the history
  • Loading branch information
danilofuchs committed May 27, 2024
0 parents commit 001520e
Show file tree
Hide file tree
Showing 6 changed files with 2,039 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import OpenAI from "openai";

const openai = new OpenAI(process.env.OPENAI_API_KEY);

export default openai;
6 changes: 6 additions & 0 deletions instrumentation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import * as Sentry from "@sentry/node";

Sentry.init({
dsn: "https://6bdb60d7e6f94dc291174f0839f8290c@o1428919.ingest.sentry.io/6779396",
enabled: false,
});
Loading

0 comments on commit 001520e

Please sign in to comment.