diff --git a/.profile.d/inject_react_app_env.sh b/.profile.d/inject_react_app_env.sh index 259d76d..f372be1 100755 --- a/.profile.d/inject_react_app_env.sh +++ b/.profile.d/inject_react_app_env.sh @@ -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