try catch in entrypoint for kernel stuff

This commit is contained in:
Djeeberjr 2023-04-01 03:27:52 +02:00
parent bf378deea2
commit f8f5f5e5c7

View File

@ -4,7 +4,13 @@ import kernel.log.Log;
class Entrypoint {
public static function main() {
Init.initKernel();
try {
Init.initKernel();
}catch(e){
Log.error('Error in init: ${e.toString()}');
return;
}
try {
Startup.main();
}catch(e){