Skip to content

Commit 9b2265b

Browse files
committed
debuging
1 parent 272fa20 commit 9b2265b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

splitio/client/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ def _make_evaluation(self, key, feature, attributes, method_name, metric_name):
115115
)
116116
self._record_stats([(impression, attributes)], start, metric_name, method_name)
117117
return result['treatment'], result['configurations']
118-
except Exception: # pylint: disable=broad-except
118+
except Exception as e: # pylint: disable=broad-except
119119
_LOGGER.error('Error getting treatment for feature')
120+
_LOGGER.error(str(e))
120121
_LOGGER.debug('Error: ', exc_info=True)
121122
self._telemetry_evaluation_producer.record_exception(metric_name)
122123
try:

0 commit comments

Comments
 (0)