I added a new property in a entity class. I didn't create migration. After that, I tried to use UseExceptionHandler middleware. It successfully triggered error action method but the view didn't appear. Instead, the default developer exception page was displayed. I wonder why this happened. Later, I added new migration and updated the database. After doing so, the middleware worked as expected.
I tried to use UseExceptionHandler middleware. The view didn't appear.
select [newcolumn]
will throw an exception if it doesn't exist. I'm not sure why you are surprised by that.