mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update
This commit is contained in:
1 parent
8389519249
commit
a5886ecb99
37 files changed
+940
-162
No files matched your search
@@ -58,7 +58,10 @@ export async function load(call: Entry) {
|
||||
await ins.run({ username: 'Root', password: 'rootroot' });
|
||||
}
|
||||
for (const postInit of global.Hydro.postInit) {
|
||||
await postInit().catch(console.error);
|
||||
await postInit().catch((e) => {
|
||||
console.error('Error running postInit:', postInit.toString());
|
||||
console.error(e);
|
||||
});
|
||||
}
|
||||
return await modelSystem.get('server.worker');
|
||||
}
|
||||
Reference in new issue
Block a user