From 39a5ff1e638bd28a17ca7fb9a66ea083202e4f31 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 15 Apr 2020 08:49:21 -0400 Subject: [PATCH] lib/mv/mv_runner.rb: drop an unused "e" error variable. --- lib/mv/mv_runner.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.44.2