]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba_kcc: Do not catch all exceptions, we need the backtrace
authorAndrew Bartlett <abartlet@samba.org>
Tue, 17 Feb 2015 23:16:29 +0000 (12:16 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 May 2015 05:25:07 +0000 (07:25 +0200)
Debugging samba_kcc with all exceptions turned off just is not practical.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/scripting/bin/samba_kcc

index 9d26848d2d05785b9ae8282a5e90759be716abeb..cfd4d7e166bb14b32b60aab04757efb142ee4504 100755 (executable)
@@ -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