feat: 找不到资源时不通知, 仅保留日志

This commit is contained in:
xream
2024-11-28 15:44:55 +08:00
parent 9d90369594
commit 815552d470
3 changed files with 4 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ async function getFile(req, res) {
);
}
} else {
$.notify(`🌍 Sub-Store 下载文件失败`, `❌ 未找到文件:${name}`);
$.error(`🌍 Sub-Store 下载文件失败`, `❌ 未找到文件:${name}`);
failed(
res,
new ResourceNotFoundError(