Skip to content

Commit

Permalink
RavenDB-22849 - minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lastav5 committed Feb 20, 2025
1 parent 9c40f23 commit 9889924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override async ValueTask ExecuteAsync()
var taskId = RequestHandler.GetLongQueryString("taskId", required: true);

if (StatusType.TryParse(type, ignoreCase: true, out StatusType statusType) == false)
throw new ArgumentException($"provided '{type}' has to be `{StatusType.Cluster.ToString()}` or '{StatusType.Local.ToString()}'");
throw new ArgumentException($"provided '{nameof(type)}' has to be `{StatusType.Cluster.ToString()}` or '{StatusType.Local.ToString()}'");

using (ServerStore.Engine.ContextPool.AllocateOperationContext(out ClusterOperationContext context))
using (context.OpenReadTransaction())
Expand Down

0 comments on commit 9889924

Please sign in to comment.