mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-03-31 21:27:02 +00:00
This commit is contained in:
parent
b020bc7354
commit
15c6f25839
@ -81,7 +81,13 @@ class VJudge {
|
||||
const provider = await import(`./providers/${type}`);
|
||||
const account = provider.getAccountInfoFromEnv();
|
||||
|
||||
if (!account) throw new Error(`no account info for ${type}`);
|
||||
if (!account) {
|
||||
// throw new Error(`no account info for ${type}`);
|
||||
|
||||
logger.error(`no account info for ${type}`);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
this.p_imports[type] = provider.default;
|
||||
this.providers[type] = new AccountService(provider.default, account);
|
||||
|
Loading…
x
Reference in New Issue
Block a user