Only let the CCError respond in development

CCError will now execute the #500 route on errors when not in
development