bfirsh / bfirsh/otter

Better error handling

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CoffeeScript
Stars
82
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently we play it safe: if there is an error while rendering the page in Otter, it just outputs a blank index.html and lets the client give it a shot. An unhelpful traceback is barfed out in the console.

We can do better than this. We should have some tools for printing tracebacks in the browser when in development, perhaps other debugging tools (remote web inspector?). At the very least we should make a note that there was an error in `window.otter` so the client knows that it needs to recover.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the rendering error path and how the generated index.html and window.otter state reach the client; define the development traceback behavior and client recovery marker before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, javascript
Domain
backend, devtools, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.