Skip to content

Commit

Permalink
Merge pull request #436 from synapsestudios/432-error-template-passes…
Browse files Browse the repository at this point in the history
…-env

Pass production env variable in errors from hapi
  • Loading branch information
spruce-bruce committed Dec 16, 2019
2 parents 7b41d91 + 0c12fd7 commit f8b1009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module.exports = Promise.all([
error_description: res.output.payload.message,
stack: res.stack,
systemError: true,
production: env === 'production',
debug_info: JSON.stringify(debug, null, 4),
}, request.query.client_id);

Expand Down

0 comments on commit f8b1009

Please sign in to comment.