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 {
|
||||
public static function main() {
|
||||
try {
|
||||
Init.initKernel();
|
||||
}catch(e){
|
||||
Log.error('Error in init: ${e.toString()}');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
Startup.main();
|
||||
}catch(e){
|
||||
|
Loading…
Reference in New Issue
Block a user