Skip to content

Commit

Permalink
[guile-json] show better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Apr 4, 2019
1 parent d39f180 commit 816dd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion borrowed/guile-json/json/builder.scm
Expand Up @@ -182,7 +182,7 @@
((string? scm) (json-build-string scm port escape unicode))
((vector? scm) (json-build-array scm port escape unicode pretty level))
((pair? scm) (json-build-object scm port escape unicode pretty level))
(else (throw 'json-invalid))))
(else (throw 'json-invalid scm))))

;;
;; Public procedures
Expand Down

0 comments on commit 816dd3e

Please sign in to comment.