try catch in entrypoint for kernel stuff
This commit is contained in:
parent
bf378deea2
commit
f8f5f5e5c7
@ -4,7 +4,13 @@ import kernel.log.Log;
|
|||||||
|
|
||||||
class Entrypoint {
|
class Entrypoint {
|
||||||
public static function main() {
|
public static function main() {
|
||||||
|
try {
|
||||||
Init.initKernel();
|
Init.initKernel();
|
||||||
|
}catch(e){
|
||||||
|
Log.error('Error in init: ${e.toString()}');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Startup.main();
|
Startup.main();
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
Loading…
Reference in New Issue
Block a user