File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66try :
77 import ldclient
8- from ldclient .hook import Hook
8+ from ldclient .hook import Hook , Metadata
99
1010 if TYPE_CHECKING :
1111 from ldclient import LDClient
12- from ldclient .hook import EvaluationSeriesContext , Metadata
12+ from ldclient .hook import EvaluationSeriesContext
1313 from ldclient .evaluation import EvaluationDetail
1414
1515 from sentry_sdk ._types import Event , ExcInfo
@@ -24,7 +24,7 @@ def _get_ldclient():
2424 client = ldclient .get ()
2525 except Exception as exc :
2626 sentry_sdk .capture_exception (exc )
27- raise DidNotEnable ("Failed to find LaunchDarkly client instance . " + str (exc ))
27+ raise DidNotEnable ("Error getting LaunchDarkly client. " + str (exc ))
2828
2929 if client and client .is_initialized ():
3030 return client
You can’t perform that action at this time.
0 commit comments