Commit Graph

12 Commits

Author SHA1 Message Date
sdogruyol 2248475573 Properly add status_code on exceptions. Fixes #255 2016-11-23 20:36:56 +03:00
sdogruyol 012ac8f6b7 Yield error in custom error handlers 2016-11-16 20:27:01 +03:00
sdogruyol 4267a5eea9 Set default exception Content-Type to text/html. Fixes #202 2016-11-06 11:58:18 +03:00
Sdogruyol 09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol d11b702ee4 More docs 2016-07-17 14:26:22 +03:00
Sdogruyol 19581d6e3e Improve common_exception_handler to handler custom 500 errors. Fixes #175. 2016-07-03 11:13:29 +02:00
Sdogruyol 67abb5fff3 Allow 404 error handler to be customizable 2016-05-15 14:58:09 +03:00
sdogruyol 76b5add665 Don't write to context in case of an exception 2016-05-05 23:22:58 +03:00
sdogruyol 6611b976a9 Improve exception handler 2016-05-05 23:12:17 +03:00
sdogruyol e6d9311895 Start implementing error block 2016-05-05 22:35:36 +03:00
Sdogruyol e077d17943 Remove colorize from common exception handler 2016-04-18 22:17:55 +03:00
Sdogruyol 664673f125 Set content-type to text/html on errors.Fixes #130 2016-03-18 20:03:04 +02:00
Renamed from src/kemal/common_error_handler.cr (Browse further)