refactor: logger bind (#577)
This commit is contained in:
1 parent
9f19ceca87
commit
cd6dbd69cc
19 files changed
+109
-117
No files matched your search
+1
-1
@@ -96,7 +96,7 @@ export async function encodeSilk(filePath: string, TEMP_DIR: string, logger: Log
|
||||
};
|
||||
}
|
||||
} catch (error: any) {
|
||||
logger.logError.bind(logger)('convert silk failed', error.stack);
|
||||
logger.logError('convert silk failed', error.stack);
|
||||
return {};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user