Skip to content

Commit 99434dc

Browse files
authored
🚑 fix bunjs (#24)
1 parent 6fccc37 commit 99434dc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎packages/truffle-bunjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wafflestudio/truffle-bunjs",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
66
"license": "MIT",

‎packages/truffle-bunjs/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const getTruffleClient = ({ enabled = true, app, apiKey }: TruffleConfig)
2020
if (!enabled) return;
2121

2222
const message = error.message;
23-
const description = window.location.href;
2423
const fallbackNumber = 99999;
2524
const elements = ErrorStackParser.parse(error).map((e) => ({
2625
className: '',
@@ -32,7 +31,7 @@ export const getTruffleClient = ({ enabled = true, app, apiKey }: TruffleConfig)
3231

3332
const body = {
3433
app,
35-
description,
34+
description: '',
3635
exception: { className: error.name, message, elements },
3736
runtime,
3837
version: 'v1',

0 commit comments

Comments
 (0)