Skip to content

Better differentiation between exceptions and logs #449

@priestc

Description

@priestc

At my job, I'm in charge of error reporting and logging. During our last release, I went through and changed a bunch of:

try:
    [code]
except:
    pass

to

try:
    [code]
except Exception as exc:
    log.error(exc)

The problem is that our sentry "messages/day" went from around 80/day to about 350/day. All day people were asking me why the site was blowing up. I had to explain to them that logs and exceptions are two different things. The exception rate is the same, logger rate went up.

It would be nice if sentry made more of an effort to differentiate between logger statements and exceptions. Maybe color code the orange circle? Red for exceptions, blue for info, green for debug, orange for warning, etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions