-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unhandled promise rejection #344
Comments
Thanks for reporting. Ideally, this is mitigated when multi-user support #42. |
I think that it is better to use like this. try {
deployments = await script.projects.deployments.update({
scriptId,
deploymentId,
requestBody: {
deploymentConfig: {
versionNumber,
manifestFileName: PROJECT_MANIFEST_BASENAME,
description,
},
},
})
}catch(err){
return logError(null, err.message);
} |
Yes, I'll need to add a |
This error shouldn't happen anymore in the next clasp release. |
When I try to run some commands with a wrong user, the
clasp
shows error messages caused by problems with the permissions but remains frozen.Expected Behavior
Trying to run a command,
clasp
must show an error message and end.NOTE: This happens also with other commands such as
clasp deploy
.Actual Behavior
The
clasp
application shows an error...but remains frozen. I must stop the
clasp
using[Ctrl]+[C]
Steps to Reproduce the Problem
clasp
:clasp login
clasp clone ....
clasp deploy
orclasp login --json
Specifications
node -v
): v10.11.0clasp -v
): 1.6.3The text was updated successfully, but these errors were encountered: