Skip to content

Commit d098ff4

Browse files
committed
Polish command exception output
1 parent 8885729 commit d098ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InEngine.Core/Queuing/Clients/FileClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ICommandEnvelope Consume()
9595
File.Move(inProgressFilePath, Path.Combine(PendingQueuePath, fileInfo.Name));
9696
else
9797
File.Move(inProgressFilePath, Path.Combine(FailedQueuePath, fileInfo.Name));
98-
throw new CommandFailedException("Failed to consume commandEnvelope.", exception);
98+
throw new CommandFailedException("Failed to consume command.", exception);
9999
}
100100

101101
try
@@ -104,7 +104,7 @@ public ICommandEnvelope Consume()
104104
}
105105
catch (Exception exception)
106106
{
107-
throw new CommandFailedException("Failed to move commandEnvelope from in-progress queue.", exception);
107+
throw new CommandFailedException("Failed to move command from in-progress queue.", exception);
108108
}
109109

110110
return commandEnvelope;

0 commit comments

Comments
 (0)