Revert "setting custom errors off for azure deployment"

This reverts commit 17e0b975b88d0170aa0dcdfd786157e03fafcc6e.