Commit 33741cf1 authored by jan.koester's avatar jan.koester
Browse files

only out errors

parent a1b6cd81
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -297,11 +297,12 @@ namespace netplus {
                                eventptr->unlockCon(i);
                            }
                        } catch (NetException& e) {
                            std::cerr << e.what() << std::endl;
                            eventptr->CloseEventHandler(i);
                            if (e.getErrorType() == NetException::Critical) {
                                throw e;
                            }
                            if(e.getErrorType() != NetException::Note)
                                std::cerr << e.what() << std::endl;
                        }
                    }
                }