[obs-commits] [openSUSE/open-build-service] 1bcbee: Move ApplicationController rescue_from blocks to a...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 1bcbee95d0c7ca69d5b0cae1a59f7cbc3df1fa5e https://github.com/openSUSE/open-build-service/commit/1bcbee95d0c7ca69d5b0ca... Author: Victor Pereira <vpereira@suse.de> Date: 2020-08-09 (Sun, 09 Aug 2020) Changed paths: M src/api/.rubocop.yml M src/api/app/controllers/application_controller.rb A src/api/app/controllers/concerns/rescue_handler.rb Log Message: ----------- Move ApplicationController rescue_from blocks to a concern Commit: b128ee69286ea7e5e81c1accc8a497d39c0da78d https://github.com/openSUSE/open-build-service/commit/b128ee69286ea7e5e81c1a... Author: Victor Pereira <vpereira@suse.de> Date: 2020-08-09 (Sun, 09 Aug 2020) Changed paths: M src/api/app/controllers/concerns/rescue_handler.rb Log Message: ----------- Remove rescue_from ActionController::RoutingError The ActionController::RoutingError is raised when Rails tries to match the request with a route. This happens before Rails even initializes a controller therefore ApplicationController never has a chance to rescue the exception. Commit: df83b87900524b8594aadb4ada0743174a252805 https://github.com/openSUSE/open-build-service/commit/df83b87900524b8594aadb... Author: Victor Pereira <vpereira@suse.de> Date: 2020-08-10 (Mon, 10 Aug 2020) Changed paths: M src/api/.rubocop.yml M src/api/app/controllers/application_controller.rb A src/api/app/controllers/concerns/rescue_handler.rb Log Message: ----------- Merge pull request #9995 from vpereira/concern_controller_exceptions Move ApplicationController rescue_from blocks to a concern Compare: https://github.com/openSUSE/open-build-service/compare/58d4a0f1bbbb...df83b8...
participants (1)
-
Victor Pereira