dakrone / dakrone/clj-http

Misnamed keyword on exception type?

Open
#563 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

4.x
Dominant language
Clojure
Stars
1.8k
Forks
410
PR merge metrics
No merged PRs in 30d

Description

Hey guys, I was looking through the code, and I noticed that here we're naming the keyword unexceptional-status - shouldn't it be namedexceptional-status since unexceptional-status-for-request? returned false ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect src/clj_http/client.clj around lines 236-240, starting with unexceptional-status-for-request? and the unexceptional-status keyword. Confirm whether the keyword name matches the predicate result, then check nearby references for consistent usage. Done means the naming is corrected if needed and the surrounding behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.