MongooseIM icon indicating copy to clipboard operation
MongooseIM copied to clipboard

MongooseIM HTTP API returns 500 when resource not found

Open jasl opened this issue 6 years ago • 3 comments

MongooseIM version: 3.3.0 Installed from: source Erlang/OTP version: Erlang/OTP 21 [erts-10.3.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]

Relates to #2256 , when resource not exists (including non exist API endpoint) MongooseIM should return 404, but returns 500 and a crash log.

jasl avatar Apr 08 '19 14:04 jasl

Hi @jasl

We've added a task to our backlog to improve this behaviour. :)

fenek avatar Jun 04 '19 08:06 fenek

@fenek Great! Thank you

jasl avatar Jun 04 '19 09:06 jasl

@fenek Can I take the issue any heads up will be great to solve this issue :)

m13m avatar Jul 12 '19 01:07 m13m