connection: try to console log if error is throwing