getsentry / getsentry/sentry

Elixir `capture_message` with stacktrace has title "message"

Open
#61,239 21 comments 0 reactions 0 assignees View on GitHub
Bug Elixir Errors
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

Version 9.1.0
self hosted

### Steps to Reproduce

```elixir
{:current_stacktrace, stacktrace} = Process.info(self(), :current_stacktrace)
Sentry.capture_message("Test message please ignore", stacktrace: stacktrace)
```

### Expected Result

Where it says "message" in the Sentry UI I think it should contain the actual message.

### Actual Result

With Elixir with a stacktrace (produced with sample code above):

image

With Elixir without a stacktrace:
image

With Python with a stacktrace:
![2023-12-04 at 18 42](https://github.com/getsentry/sentry-elixir/assets/3464899/4f71b3ae-7c1f-46d8-95e5-bfceae529c6a)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.