Skip to content
Snippets Groups Projects
Commit e22c3f33 authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Fix base controller exception catch, undo previous catch add

parent aca9c53c
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,9 @@ public class Controller
processOFMessage((OFMessage)e.getMessage());
}
} catch (Exception ex) {
Channels.fireExceptionCaught(ctx, ex);
// We are the last handler in the stream, so run the exception
// through the channel again by passing in ctx.getChannel().
Channels.fireExceptionCaught(ctx.getChannel(), ex);
}
}
......@@ -572,8 +574,6 @@ public class Controller
handleMessage(sw, m, null);
break;
}
} catch (Exception e) {
log.warn("Exeption in handling OF message {}", e);
}
finally {
sw.processMessageLock().unlock();
......@@ -1221,8 +1221,6 @@ public class Controller
}
}
switchResultSet.save();
} catch (Exception e) {
log.error("Error updating switch info {}", e);
}
finally {
if (switchResultSet != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment