add stack trace pages in staging and production