Don't log traceback for redis ConnectionError exception
In partition_handler, the redis connection timesout if there is no
activity for 90 seconds. We have catch all exception that logs the
traceback. Need to catch the ConnectionError exception and not log the
traceback for this case.
Change-Id: If2f391d5ddf3a04aed82b889b1d780de60c4da6b
Closes-Bug: #1578779
(cherry picked from commit 2539e2e1ed9bab1cffce2fa47ebc066d3693c53d)
Reviewed: https:/ /review. opencontrail. org/20126 github. org/Juniper/ contrail- controller/ commit/ 1ef74537fbf652c 38088c8706c0cd8 bbd60efb40
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 1ef74537fbf652c 38088c8706c0cd8 bbd60efb40
Author: Sundaresan Rajangam <email address hidden>
Date: Wed May 11 14:50:58 2016 -0700
Don't log traceback for redis ConnectionError exception
In partition_handler, the redis connection timesout if there is no
activity for 90 seconds. We have catch all exception that logs the
traceback. Need to catch the ConnectionError exception and not log the
traceback for this case.
Change-Id: If2f391d5ddf3a0 4aed82b889b1d78 0de60c4da6b cffce2fa47ebc06 6d3693c53d)
Closes-Bug: #1578779
(cherry picked from commit 2539e2e1ed9bab1