fixing up the hy site to match the new catch syntax
This commit is contained in:
parent
70fd991ef1
commit
5e5ae07a9f
@ -28,6 +28,6 @@
|
||||
(post-route hy2py "/hy2py" []
|
||||
(try
|
||||
(hy-to-py (get request.form "code"))
|
||||
(catch LexException e (err "Incomplete Code."))
|
||||
(catch HyError e (err "Generic error during processing."))
|
||||
(catch Exception e (err "Erm, you broke something."))))
|
||||
(catch [e LexException] (err "Incomplete Code."))
|
||||
(catch [e HyError] (err "Generic error during processing."))
|
||||
(catch [e Exception] (err "Erm, you broke something."))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user