Browse Source

Fix typo in exception in RegisterPeerCommand handler (thanks @sherilynchen)

Kevin Lovato 10 years ago
parent
commit
af673e71fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Abc.Zebus.Directory/Handlers/DirectoryCommandsHandler.cs

+ 1 - 1
src/Abc.Zebus.Directory/Handlers/DirectoryCommandsHandler.cs

@@ -39,7 +39,7 @@ namespace Abc.Zebus.Directory.Handlers
                 throw new InvalidOperationException("Peer " + Context.Originator.SenderMachineName + " is not allowed to register on this directory");
 
             if (!message.Peer.TimestampUtc.HasValue)
-                throw new InvalidOperationException("The TimestampUtc must me provided when registering");
+                throw new InvalidOperationException("The TimestampUtc must be provided when registering");
 
             var peerDescriptor = message.Peer;
             peerDescriptor.Peer.IsUp = true;