mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[refactor] remove getValueSync
This commit is contained in:
@ -85,7 +85,9 @@ function requireConfigWithRuntime(opt_additionalConfig) {
|
||||
config = reloadNpmModule('config');
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Failed to load runtime config: %s', err.stack);
|
||||
if (err.code !== 'ENOENT') {
|
||||
console.error('Failed to load runtime config: %s', err.stack);
|
||||
}
|
||||
}
|
||||
return config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user