Skip to content

Commit ee66602

Browse files
lrafeeihmstepanek
andauthored
Update newrelic/api/opentelemetry.py
Co-authored-by: Hannah Stepanek <hstepanek@newrelic.com>
1 parent ea958bb commit ee66602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic/api/opentelemetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def _set_attributes_in_nr(self, otel_attributes=None):
218218
def add_event(self, name, attributes=None, timestamp=None):
219219
# TODO: Not implemented yet.
220220
# We can implement this as a log event
221-
pass
221+
raise NotImplementedError("TODO: We can implement this as a log event.")
222222

223223
def add_link(self, context=None, attributes=None):
224224
# TODO: Not implemented yet.

0 commit comments

Comments
 (0)