diff --git a/sentry/eventtypes/base.py b/sentry/eventtypes/base.py index 8bf995b..afab525 100644 --- a/sentry/eventtypes/base.py +++ b/sentry/eventtypes/base.py @@ -3,6 +3,9 @@ from sentry.utils.strings import strip, truncatechars class DefaultEvent: + """The DefaultEvent is the Event for which there is no exception set. Given the implementation of `get_title`, I'd + actually say that this is basically the LogMessageEvent. + """ def get_title(self, data): message = strip( @@ -12,4 +15,5 @@ class DefaultEvent: if message: return truncatechars(message.splitlines()[0], 100) + return ""