Commit c4b4043b authored by Pavel Vainerman's avatar Pavel Vainerman

RTUExchange: исправил не совсем верный вывод в логах

parent f4a62a2f
...@@ -2209,28 +2209,28 @@ void RTUExchange::updateRTU188( RegMap::iterator& it ) ...@@ -2209,28 +2209,28 @@ void RTUExchange::updateRTU188( RegMap::iterator& it )
} }
catch(IOController_i::NameNotFound &ex) catch(IOController_i::NameNotFound &ex)
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR):(NameNotFound) " << ex.err << endl; dlog[Debug::LEVEL3] << myname << "(updateRTU188):(NameNotFound) " << ex.err << endl;
} }
catch(IOController_i::IOBadParam& ex ) catch(IOController_i::IOBadParam& ex )
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR):(IOBadParam) " << ex.err << endl; dlog[Debug::LEVEL3] << myname << "(updateRTU188):(IOBadParam) " << ex.err << endl;
} }
catch(IONotifyController_i::BadRange ) catch(IONotifyController_i::BadRange )
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR): (BadRange)..." << endl; dlog[Debug::LEVEL3] << myname << "(updateRTU188): (BadRange)..." << endl;
} }
catch( Exception& ex ) catch( Exception& ex )
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR): " << ex << endl; dlog[Debug::LEVEL3] << myname << "(updateRTU188): " << ex << endl;
} }
catch(CORBA::SystemException& ex) catch(CORBA::SystemException& ex)
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR): CORBA::SystemException: " dlog[Debug::LEVEL3] << myname << "(updateRTU188): CORBA::SystemException: "
<< ex.NP_minorString() << endl; << ex.NP_minorString() << endl;
} }
catch(...) catch(...)
{ {
dlog[Debug::LEVEL3] << myname << "(updateMTR): catch ..." << endl; dlog[Debug::LEVEL3] << myname << "(updateRTU188): catch ..." << endl;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment