removed debugging
messages now display in noty when the http response from the api contains an error code