mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Document reasoning on error silencing
This commit is contained in:
parent
f67ca3901d
commit
a3933eaf40
@ -27,5 +27,8 @@ try {
|
||||
.then(() => serverless.utils.logStat(serverless, 'install'))
|
||||
.catch(() => {});
|
||||
} catch (error) {
|
||||
// fail silently
|
||||
// Ignore any eventual errors.
|
||||
// Package when installed globally may be installed in uncommon user contexts,
|
||||
// that may lead to fs access related crashes
|
||||
// when e.g. trying to access user's .serverlessrc config
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user