review logging again; code that runs in client and/or server now logs in the right...
[sfa.git] / sfa / util / api.py
index 1e131be..28c5a30 100644 (file)
@@ -242,7 +242,7 @@ class BaseAPI:
         except SfaFault, fault:
             result = fault 
         except Exception, fault:
-            sfa_logger.log_exc("BaseAPI.handle has caught Exception")
+            sfa_logger().log_exc("BaseAPI.handle has caught Exception")
             result = SfaAPIError(fault)