Skip to content

Commit bc55b5c

Browse files
committed
fix: error msg not correct
1 parent 4611dc6 commit bc55b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/src/main/java/com/reajason/javaweb/memshell/ShellTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public byte[] generateBytes(ShellConfig shellConfig, ShellToolConfig shellToolCo
3434
ShellGenerator generator = constructor.newInstance(shellConfig, configClass.cast(shellToolConfig));
3535
return generator.getBytes();
3636
} catch (Exception e) {
37-
throw new RuntimeException("Failed to create generator for " + this, e);
37+
throw new RuntimeException("shell generate failed " + e.getMessage(), e);
3838
}
3939
}
4040
}

0 commit comments

Comments
 (0)