debug error in production