Debug serveré
This commit is contained in:
parent
39cf5947d8
commit
59f42680ef
4 changed files with 9 additions and 10 deletions
|
@ -38,8 +38,6 @@
|
|||
p-request)))
|
||||
|
||||
|
||||
|
||||
|
||||
(defmethod handle-new-game ((api api) data)
|
||||
(with-slots (gm) api
|
||||
(let* ((game-id (create-game gm)))
|
||||
|
@ -80,7 +78,9 @@
|
|||
:element-type 'character
|
||||
:adjustable t
|
||||
:fill-pointer 0)))
|
||||
(format reason "~a~%" condition :escape nil)
|
||||
(if (typep condition 'jonathan.error:<jonathan-error>)
|
||||
(format reason "{\"type\":\"error\",\"message\":\"Failed to parse JSON\"}~%" condition :escape nil)
|
||||
(format reason "{\"type\":\"error\",\"message\":\"~a\"}~%" condition :escape nil))
|
||||
reason))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue