maybe?

```ruby
severity = if payload[:exception]
  data[:tags] << 'exception'
  :error
else
  :info
end
```