Skip to content

Commit

Permalink
fix: human-readable error message formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed Jun 21, 2022
1 parent 185a822 commit 0c60e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k16/gx/beta/errors.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

(defn humanize-error
[{:keys [node-key signal-key message]} & rest-of-error]
(let [rest-of-error (keep seq rest-of-error)]
(let [rest-of-error (filter seq rest-of-error)]
(apply str (concat [(or message "Error") ": "
(tokenize "node = " node-key
"signal = " signal-key)]
Expand Down

1 comment on commit 0c60e6f

@vercel
Copy link

@vercel vercel bot commented on 0c60e6f Jun 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gx – ./

gx.kepler16.com
gx-kepler16.vercel.app
gx-git-master-kepler16.vercel.app

Please sign in to comment.