Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-gross committed May 10, 2016
1 parent a88ccb0 commit ca79c48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Routers/UsersRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export class UsersRouter extends ClassesRouter {
});
} catch (e) {
if (typeof e === 'string') {
// Maybe we need a Bad Configuration error, but the SDKs won't understand it. For now, Internal Server Error.
throw new Parse.Error(Parse.Error.INTERNAL_SERVER_ERROR, 'An appName, publicServerURL, and emailAdapter are required for password reset functionality.');
} else {
throw e;
Expand Down

0 comments on commit ca79c48

Please sign in to comment.