Skip to content

Commit

Permalink
Add a message for assertion failure, to make it easier to find where …
Browse files Browse the repository at this point in the history
…it went wrong.
  • Loading branch information
sellout committed Mar 24, 2011
1 parent 490222f commit a4755f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/error-handling.lisp
Expand Up @@ -36,5 +36,5 @@

(defmacro protocol-assert (&body body)
`(unless (progn ,@body)
(raise-error 'bad-request)))
(raise-error 'bad-request "Failed protocol assertion")))

0 comments on commit a4755f0

Please sign in to comment.