Skip to content

Commit

Permalink
Log an error when unable read bundle at runtime (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mars authored Aug 29, 2018
1 parent 9907ee8 commit c598192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .profile.d/inject_react_app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ then
ruby -E utf-8:utf-8 \
-r /app/.heroku/create-react-app/injectable_env.rb \
-e "InjectableEnv.replace('$js_bundle_filename')"
else
echo "Error injecting runtime env: bundle not found '$js_bundle_filename'. See: https://github.com/mars/create-react-app-buildpack/blob/master/README.md#user-content-custom-bundle-location"
fi

0 comments on commit c598192

Please sign in to comment.