Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
🐛 fix the error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
fgruchala committed Feb 25, 2019
1 parent 5cfda81 commit c752493
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default (data, context) => {
.then(edition => editionsService.findOneOnConferenceHall(edition.conferenceHall.eventId, edition.conferenceHall.apiKey))
.then(edition => edition.speakers)
.catch(err => {
throw new functions.https.HttpsError('internal', err);
throw new functions.https.HttpsError('internal', err.message, err);
});
};

0 comments on commit c752493

Please sign in to comment.