add sentry channel to dev and prod, log with exceptions
show smarty errors on dev only