mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 22:02:53 -04:00
committed by
Zoltan Kochan
parent
cce25e1608
commit
102c47f9fc
@@ -491,7 +491,12 @@ async function fetcher (
|
||||
if (!fetch) {
|
||||
throw new Error(`Fetching for dependency type "${resolution.type}" is not supported`)
|
||||
}
|
||||
return await fetch(resolution, target, opts)
|
||||
try {
|
||||
return await fetch(resolution, target, opts)
|
||||
} catch (err) {
|
||||
logger.error(`Fetching ${opts.pkgId} failed!`)
|
||||
throw err
|
||||
}
|
||||
}
|
||||
|
||||
async function getCacheByEngine (storePath: string, id: string): Promise<Map<string, string>> {
|
||||
|
||||
Reference in New Issue
Block a user