Gitlab Exception Notification
Automatically create, open and updates Gitlab issues on rails exceptions.
Works with the ExceptionNotification gem.
Setup
Require the gem in your rails project's Gemfile:
gem "gitlab_exception_notification"
Add the gitlab
notifier in the ExceptionNotification configuration, usually in the production.rb
file.
config.middleware.use ExceptionNotification::Rack,
:gitlab => {
private_token: "YOUR_PRIVATE_GITLAB_TOKEN",
gitlab_url: "YOUR_PRIVATE_GITLAB_ENDPOINT",
project_name: "YOUR_GITLAB_PROJECT_NAME"
}