From 2e7a063c24b48d84273549032289e0305f32afac Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Mon, 12 Aug 2024 15:05:06 -0400 Subject: [PATCH] catch all errors --- ldclient/impl/integrations/files/file_data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldclient/impl/integrations/files/file_data_source.py b/ldclient/impl/integrations/files/file_data_source.py index b83ef07..ea1e40e 100644 --- a/ldclient/impl/integrations/files/file_data_source.py +++ b/ldclient/impl/integrations/files/file_data_source.py @@ -87,7 +87,7 @@ def _load_all(self): for path in self._paths: try: self._load_file(path, all_data) - except Exception as e: + except BaseException as e: log.error('Unable to load flag data from "%s": %s' % (path, repr(e))) traceback.print_exc() if self._data_source_update_sink is not None: