added handler for error status in route redirect
style fix
Merge pull request #1026 from onepercentclub/feature/BOOK-858

Feature/book 858