Commit 38066fca authored by jan.koester's avatar jan.koester
Browse files

httpclient have error message

parent 8071b9c8
Loading
Loading
Loading
Loading
+2 −1
Changes for examples/httpclient.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ int main(int argc, char** argv){
            amount+=recv;
            html.append(data,recv);
          }
        }catch(...){
        }catch(libhttppp::HTTPException &e){
            std::cerr << e.what() << std::endl;
        };
        if(!html.empty())
          std::cout << html << std::endl;