Skip to content

Commit

Permalink
Merge pull request #47 from ReuDa/main
Browse files Browse the repository at this point in the history
Disable mitm in case of an exception
  • Loading branch information
gunnargrosch authored Aug 20, 2024
2 parents d25934c + 2bd4d0f commit 743aef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/failure.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ var injectFailure = function (fn) {
return fn.apply(this, arguments);
} catch (ex) {
console.log(ex);
clearMitm();
throw ex;
}
};
Expand Down

0 comments on commit 743aef4

Please sign in to comment.