fix(cli): don't ignore critical errors (#1150)
Thrown java.lang.Error was ignored and not logged.
This commit is contained in:
@@ -21,7 +21,7 @@ public class JadxCLI {
|
||||
} catch (JadxArgsValidateException e) {
|
||||
LOG.error("Incorrect arguments: {}", e.getMessage());
|
||||
result = 1;
|
||||
} catch (Exception e) {
|
||||
} catch (Throwable e) {
|
||||
LOG.error("Process error:", e);
|
||||
result = 1;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user