Skip to content

Commit

Permalink
catch the seg fault to see what's causing it
Browse files Browse the repository at this point in the history
  • Loading branch information
jcolson committed Sep 28, 2021
1 parent 6a6ce52 commit 390a44d
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions __test__/utils/commands.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
var SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler();
// SegfaultHandler.causeSegfault();

const commands = require('../../utils/commands.js');
const { testables } = commands;

Expand Down
56 changes: 56 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"node-fetch": "2.6.1",
"pug": "^3.0.0",
"rpg-dice-roller": "^5.0.0",
"segfault-handler": "^1.3.0",
"topgg-autoposter": "^2.0.0",
"tzdata": "^1.0.25"
},
Expand Down

0 comments on commit 390a44d

Please sign in to comment.