OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#50543] fixed error text on storage error
Eric Schubertc9d535a78a4c
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rbindex d3da0317ff3..f6564b5d1b0 100644--- a/app/controllers/my_controller.rb+++ b/app/controllers/my_controller.rb@@ -92,9 +92,9 @@ class MyController < ApplicationController.where(user: @user, oauth_client: { integration_type: 'Storages::Storage' }).find_by(id: params[:id])if token&.destroy- flash[:info] = I18n.t('my.access_tokens.storages.removed')+ flash[:info] = I18n.t('my_account.access_tokens.storages.removed')else- flash[:error] = I18n.t('my.access_tokens.storages.failed')+ flash[:error] = I18n.t('my_account.access_tokens.storages.failed')endredirect_to action: :access_tokenenddiff --git a/modules/storages/app/common/storages/peripherals/storage_error_helper.rb b/modules/storages/app/common/storages/peripherals/storage_error_helper.rbindex 541cb4e7bb4..2714db631a1 100644--- a/modules/storages/app/common/storages/peripherals/storage_error_helper.rb+++ b/modules/storages/app/common/storages/peripherals/storage_error_helper.rb@@ -39,7 +39,7 @@ module Storages::Peripheralswhen :forbiddenraise API::Errors::OutboundRequestForbidden.newelse- raise API::Errors::InternalError.new+ raise API::Errors::InternalError.new(error.log_message)endendend