---
title: "Discussion on \"Sentry.io custom error titles\" | Hashnode"
description: "Discussion on \"Sentry.io custom error titles\". Should be easy and straightforward, yet I had to find a (not so elegant) workaround.\nSentry.init({\n...\n  beforeSend: function(event, hint) {\n   ...\n    event.exception.values[0].type = 'My-Custom-Title';\n    return event;\n  }\n});\nBasically someone sa..."
url: "https://hashnode.com/posts/sentryio-custom-error-titles/6023b98150d5e944c5d46a56"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sentry.io custom error titles](https://lines.hashnode.dev/sentryio-custom-error-titles?utm_source=hashnode&utm_medium=feed)

Should be easy and straightforward, yet I had to find a (not so elegant) workaround. Sentry.init({ ... beforeSend: function(event, hint) { ... event.exception.values\[0\].type = 'My-Custom-Title'; return event; } }); Basically someone sa...

Feb 10, 2021 · 1 min read · lines.hashnode.dev  
Read the article

-   [#error-tracking](https://hashnode.com/tag/error-tracking)

## Written by

[Ema Dance](https://hashnode.com/@Emm)

@Emm · Romania

  
[View profile](https://hashnode.com/@Emm)

programming my way out

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
