Skip to content

Commit

Permalink
fix(rubocop): useless assignment to variable -> e
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-lagreca committed Jan 18, 2024
1 parent 95bfa16 commit b70eed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/apps_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def lti_icon(app_name)
site = "#{uri.scheme}://#{uri.host}#{standard_port ? '' : ":#{uri.port}"}/"
path = uri.path.split('/')
path_base = "#{(path[0].chomp(' ') == '' ? path[1] : path[0]).gsub('/', '')}/"
rescue StandardError => e
rescue StandardError
# TODO: handle exception
logger.error("App #{app_name} is not registered.")
return
Expand Down

0 comments on commit b70eed7

Please sign in to comment.