From: Michael Orlitzky Date: Wed, 15 Apr 2020 12:49:21 +0000 (-0400) Subject: lib/mv/mv_runner.rb: drop an unused "e" error variable. X-Git-Tag: 0.0.4~4 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=commitdiff_plain;h=39a5ff1e638bd28a17ca7fb9a66ea083202e4f31 lib/mv/mv_runner.rb: drop an unused "e" error variable. --- diff --git a/lib/mv/mv_runner.rb b/lib/mv/mv_runner.rb index 1fac09e..6a4413b 100644 --- a/lib/mv/mv_runner.rb +++ b/lib/mv/mv_runner.rb @@ -38,17 +38,17 @@ class MvRunner msg += "." report(plugin, msg) - rescue NonexistentUserError => e + rescue NonexistentUserError # This means that the SOURCE user didn't exist, since a # nonexistent destination user is perfectly expected. report(plugin, "Source user #{src.to_s()} not found.") - rescue NonexistentDomainError => e + rescue NonexistentDomainError # This could mean that the source domain doesn't exist, but in # that case, we just report that the source user doesn't # exist. So a nonexistent domain refers to a nonexistent # DESTINATION domain. report(plugin, "Destination domain #{dst.domainpart()} not found.") - rescue UserAlreadyExistsError => e + rescue UserAlreadyExistsError report(plugin, "Destination user #{dst.to_s()} already exists.") end end