Skip to content
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

Fixed Cloud functions/triggers async rejection crashing server. #203

Merged
merged 1 commit into from
Feb 3, 2016

Conversation

nlutsenko
Copy link
Contributor

Reject a promise instead of throwing an error, which doesn't quite work with promises and crashes the server. Fixes asynchronously rejected beforeSave/beforeDelete and Cloud Functions.
Fixes #163

@gfosco gfosco added the accepted label Feb 3, 2016
@gfosco gfosco assigned nlutsenko and unassigned gfosco Feb 3, 2016
nlutsenko added a commit that referenced this pull request Feb 3, 2016
Fixed Cloud functions/triggers async rejection crashing server.
@nlutsenko nlutsenko merged commit c37db7b into master Feb 3, 2016
@nlutsenko nlutsenko deleted the nlutsenko.cloud.reject branch February 3, 2016 10:14
bernhardharrer pushed a commit to bernhardharrer/parse-server that referenced this pull request Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants