Commit 6c40a62d authored by jan.koester's avatar jan.koester
Browse files

new err handling

parent 8bb9f16e
Loading
Loading
Loading
Loading
+4 −4
Changes for src/httpd.cpp: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -123,8 +123,8 @@ libhttppp::HttpD::HttpD(int argc, char** argv){
            #endif 
        }
    }catch (netplus::NetException &e) {
        netplus::NetException ee;
        ee[netplus::NetException::Critical] << e.what();
        HTTPException ee;
        ee[HTTPException::Critical] << e.what();
        throw ee;
    }
}
@@ -167,8 +167,8 @@ libhttppp::HttpD::HttpD(const char *httpaddr, int port,int maxconnections,const
            #endif
        }
    }catch (netplus::NetException &e) {
        netplus::NetException ee;
        ee[netplus::NetException::Critical] << e.what();
        HTTPException ee;
        ee[HTTPException::Critical] << e.what();
        throw ee;
    }
}