Skip to content

Commit

Permalink
fix: BT startup failure
Browse files Browse the repository at this point in the history
  • Loading branch information
steilerDev committed Aug 28, 2023
1 parent 8d13be1 commit 57cc74d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"<node_internals>/**"
],
"preLaunchTask": "Build App",
"program": "${workspaceFolder}/app/src/main.ts",
"program": "${workspaceFolder}/app/bin/main.js",
"args": ["sync"],
"outFiles": [
"${workspaceFolder}/app/bin/**/*.js",
Expand Down
5 changes: 5 additions & 0 deletions app/src/app/event/error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ export class ErrorHandler {
+ BACKTRACE_SUBMISSION.TYPE;

this.btClient = bt.BacktraceClient.initialize({

userAttributes: {
application: Resources.PackageInfo.name,
'application.version': Resources.PackageInfo.version,
},
url: endpoint,
database: {
enable: true,
Expand Down

0 comments on commit 57cc74d

Please sign in to comment.