Skip to content

Commit

Permalink
Merge branch 'master' into nil-component
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Dec 30, 2024
2 parents 53e5d4e + 500179a commit 01a0343
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/darkleaf/di/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@
(try
(build-obj* built-map (peek stack))
(catch Exception ex
(throw (ex-info "An error during component build"
{:type ::build-error
:stack (map :key stack)}
ex)))))
(throw (ex-info "A failure occurred during the build process"
{:type ::build-failure
:stack (map :key stack)})
ex))))

(defn- build [{:keys [registry *stop-list]} key]
(loop [stack (list (stack-frame key :required (registry key)))
Expand Down

0 comments on commit 01a0343

Please sign in to comment.