Revert "Enabled custom errors mode"

This reverts commit 01c804058249474a07d91c0ee448659bebe8c46a.