print network error info to console