mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 09:37:41 +08:00
Fix: Check function error capture
This commit is contained in:
parent
ad6332af5c
commit
12347c774f
@ -54,7 +54,7 @@ export const alasPath = isMacintosh && import.meta.env.PROD ? getAlasABSPath() :
|
||||
try {
|
||||
validateConfigFile(join(alasPath, '/config'));
|
||||
} catch (e) {
|
||||
logger.error(e.toString());
|
||||
logger.error(String(e as any));
|
||||
}
|
||||
|
||||
const file = fs.readFileSync(path.join(alasPath, './config/deploy.yaml'), 'utf8');
|
||||
|
Loading…
Reference in New Issue
Block a user