cleanup trailing whitespace ugliness
[scpubgit/Object-Remote.git] / lib / Object / Remote / Role / Connector.pm
index 747341c..8ad06c2 100644 (file)
@@ -2,13 +2,15 @@ package Object::Remote::Role::Connector;
 
 use Module::Runtime qw(use_module);
 use Object::Remote::Future;
-use Object::Remote::Logging qw(:log :dlog );
+use Object::Remote::Logging qw(:log :dlog router);
 use Moo::Role;
 
 requires '_open2_for';
 
 has timeout => (is => 'ro', default => sub { 10 });
 
+BEGIN { router()->exclude_forwarding; }
+
 sub connect {
   my $self = shift;
   Dlog_debug { "Preparing to create connection with args of: $_" } @_;
@@ -51,10 +53,10 @@ sub connect {
                             $f->fail("Connection timed out") unless $f->is_ready;
                         }
                         undef($channel);
-                        
+
                       }
                     );
-    log_trace { "connection for child pid '$child_pid' has been initialized" }; 
+    log_trace { "connection for child pid '$child_pid' has been initialized" };
     $f;
   }
 }