Skip to content

Commit

Permalink
Don't just surrender so quickly...
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Aug 10, 2021
1 parent d1e30ce commit a3091a6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public void convertCode(DexMethodNode methodNode, MethodVisitor mv) {
super.convertCode(methodNode, mn);
} catch (Exception ex) {
if (exceptionHandler == null) {
throw new DexException(ex, "Failed to convert code for %s", methodNode.method);
new DexException(ex, "Failed to convert code for %s", methodNode.method)
.printStackTrace();
} else {
mn.instructions.clear();
mn.tryCatchBlocks.clear();
Expand All @@ -55,7 +56,8 @@ public void convertCode(DexMethodNode methodNode, MethodVisitor mv) {
mn.instructions.clear();
mn.tryCatchBlocks.clear();
if (exceptionHandler == null) {
throw new DexException(ex, "Failed to convert code for %s", methodNode.method);
new DexException(ex, "Failed to convert code for %s", methodNode.method)
.printStackTrace();
} else {
exceptionHandler.handleMethodTranslateException(methodNode.method, methodNode, mn, ex);
}
Expand Down

0 comments on commit a3091a6

Please sign in to comment.