We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898a18d commit 9190a87Copy full SHA for 9190a87
packer/src/main/java/com/reajason/javaweb/packer/jar/attach/Attacher.java
@@ -57,7 +57,17 @@ public static void main(String[] args) throws Exception {
57
Attacher.attach(args[0]);
58
} catch (Exception e) {
59
if (!e.getMessage().equals("0")) {
60
- throw e;
+ Throwable cause = e.getCause();
61
+ if (cause != null) {
62
+ if (!cause.getMessage().equals("0")) {
63
+ cause = e.getCause();
64
65
66
+ throw e;
67
+ }
68
69
70
71
}
72
73
System.out.println("ok");
0 commit comments