Not seeing stack trace or proper error page on development or production

I have updated a number of packages on my project and after some time I noticed that I’m not seeing the stacktrace on the webpage. I simply get this page:

This happens on both development and production. On development it used to show full stacktrace. On production, it used to display the 500 static page (templates/error/500.html.eex)

I’m using Phoenix 1.7.1