Fork me on GitHub
#ring-swagger
<
2015-10-09
>
shaym12:10:12

anyone using compojure-api?

shaym13:10:02

hi deraen simple_smile

shaym13:10:19

im trying to overide the defualt exception handler for compojure-api

shaym13:10:24

but no love

juhoteperi13:10:55

shaym: Are you using compojure-api 0.23.0?

shaym13:10:24

[metosin/compojure-api "0.22.1"]

shaym13:10:43

i searched the issues lists but didnt see abt exception related ones

juhoteperi13:10:50

The exceptions option format was changed in 0.23.0

juhoteperi13:10:12

And looks like your are trying to use the new options

shaym13:10:26

ye, thats what i saw in the code

shaym13:10:15

(POST* "/list" request (throw (RuntimeException. "shay")) (ok (list-templates dal)))

shaym13:10:15

hmm i need to update my api version to use the new one, trying it out now

shaym13:10:14

@juhoteperi: bingo, upgrading to 23.0 worked