Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Le #151] Replace instances of manual de-structuring of error maps with (ex-triage) #61

Open
stanislowskij opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request refactoring

Comments

@stanislowskij
Copy link
Collaborator

⚠️ Imported from legacy repository. This issue is a duplicate of Clojure-Intro-Course/babel-legacy#151.

A handful of functions in processor.clj use giant let blocks with heavy de-structuring to parse relevant portions of error data, as returned by functions like (Throwable->map).

Consider using clojure.main/ex-triage instead to simplify the data we are passing around and make extracting values easier, as it seems to do a lot of the heavy error analysis for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring
Projects
None yet
Development

No branches or pull requests

2 participants