phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp
changeset 50 377c906a8701
parent 46 bc5a64e5bc3c
child 52 a49bfe5190e4
--- a/phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp	Tue Jul 06 14:15:47 2010 +0300
+++ b/phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp	Fri Jul 09 15:40:55 2010 +0300
@@ -65,14 +65,9 @@
     DPRINT;
     bool success(false);
     if (!m_nwSession) {
-        try {
-            QT_TRAP_THROWING(m_nwSession.reset(
-                    CreateL(*this, m_nwInfo)));
-        } catch (const std::exception& ex) {
-            DCRITICAL << ": exception " << ex.what(); 
-        }
-        
-        if (!m_nwSession.isNull()) {
+        QT_TRAP_THROWING(m_nwSession.reset(
+                CreateL(*this, m_nwInfo)));
+        if (m_nwSession) {
             DPRINT << ": session created"; 
             success = true;
         }