Fix compiling crashes on EMUI (#44)

This commit is contained in:
tehcneko 2021-02-02 12:30:08 +08:00 committed by GitHub
parent 9c93b65206
commit 2b3dcef993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ public class CompileDialogFragment extends AppCompatDialogFragment {
e.printStackTrace();
}
});
} catch (Exception e) {
e.printStackTrace();
} catch (Throwable t) {
t.printStackTrace();
compileWithShell(mode);
}
});