Reputation: 6415
I'm getting an error on my newly deployed Phoenix application (on Heroku).
The only error I see in production in "Server internal error".
How do I get more information and diagnose/fix this error?
Upvotes: 1
Views: 456
Reputation: 84140
You are attempting to use an Elixir 1.3 feature (DateTime
was added in 1.3), however by default, the heroku buildpack uses Elixir 1.2
Add an elixir_buildpack.config
file in the root of your repo with the following:
elixir_version=1.3.2
Upvotes: 3