修复本地文件缓存不存在报告异常时, RequestJobResult.loadFail为BusinessError类型的bug

This commit is contained in:
hid54105227 2024-10-28 20:43:40 +08:00
parent fd0394a80a
commit 9da4c1bd14
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ export class ImageKnifeLoader {
fs.closeSync(file); fs.closeSync(file);
} }
} catch (err) { } catch (err) {
loadError = err loadError = 'Retrieve from file error:' + err
} }
} }
} else if (typeof request.src == "number") { //从资源文件获取 } else if (typeof request.src == "number") { //从资源文件获取