Skip to content

Commit 8f84692

Browse files
TimPansinolrafeei
andauthored
Fix missing data on used instrumentation hooks. (#649)
Co-authored-by: Lalleh Rafeei <[email protected]>
1 parent 7c52253 commit 8f84692

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

newrelic/core/environment.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
total_physical_memory,
3030
)
3131

32-
# try:
33-
# import pkg_resources
34-
# except ImportError:
35-
# pass
36-
3732
try:
3833
import newrelic.core._thread_utilization
3934
except ImportError:
@@ -245,7 +240,7 @@ def get_version(name): # pylint: disable=function-redefined
245240
version = get_version(name)
246241
plugins.append("%s (%s)" % (name, version))
247242
except Exception:
248-
pass
243+
plugins.append(name)
249244

250245
env.append(("Plugin List", plugins))
251246

0 commit comments

Comments
 (0)