From 204fe65be2e8937e471be39b51b92d5ee9b8566e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 18 Feb 2015 12:16:29 +1300 Subject: [PATCH] samba_kcc: Do not catch all exceptions, we need the backtrace Debugging samba_kcc with all exceptions turned off just is not practical. Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- source4/scripting/bin/samba_kcc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index 9d26848d2d0..cfd4d7e166b 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -1952,10 +1952,8 @@ class KCC(object): # Step 7 self.update_rodc_connection() - - except Exception, estr: - logger.error("%s" % estr) - return 1 + except: + raise return 0 -- 2.47.3