X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fmv%2Fmv_runner.rb;fp=lib%2Fmv%2Fmv_runner.rb;h=6a4413b412ee8256b0988518f8659c59c0fec245;hp=1fac09ef8c062026ee1bb6aaac49dd0e9386c26c;hb=39a5ff1e638bd28a17ca7fb9a66ea083202e4f31;hpb=f7ab114233dcb926de21beb4c5d9a8a9ac065e9d 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