From 2f109e821d4626455a7f32ebcdb676eb8943be39 Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Thu, 3 Aug 2017 10:10:06 +0800 Subject: [PATCH] correct word. --- src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs b/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs index b5ebb1e..77c389b 100644 --- a/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs +++ b/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Builder if (marker == null) { - throw new InvalidOperationException("Add Consistency must be called on the service collection."); + throw new InvalidOperationException("Add Cap must be called on the service collection."); } var provider = app.ApplicationServices;