BeaconCMS / BeaconCMS/beacon

Augment exception in LiveData

Open
#432 0 comments 0 reactions 0 assignees View on GitHub
area:content enhancement
Dominant language
Elixir
Stars
1.3k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Crashes in user-provided code in LiveData will raise as:

```elixir
Elixir.BeaconWeb.LiveRenderer.82CBFE60DC5B9C46C4C0BC8ADDAB657ADataSource in anonymous fn/4 in :"Elixir.BeaconWeb.LiveRenderer.82CBFE60DC5B9C46C4C0BC8ADDAB657ADataSource".live_data/2
```

We could reraise providing more info to help debugging.

Contributor guide

Open the contributing guide

Research direction

Start by locating the LiveData implementation and the path that produces the shown exception, then reproduce the crash in user-provided code. Done means the raised exception includes useful debugging context without losing the original failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.