Browse Source

correct spelling

master
yangxiaodong 7 years ago
parent
commit
595adb76c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs

+ 1
- 1
src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs View File

@@ -58,7 +58,7 @@ namespace Microsoft.AspNetCore.Builder
var messageQueuemarker = app.ApplicationServices.GetService<CapMessageQueueMakerService>();
if (messageQueuemarker == null)
{
throw new InvalidOperationException("You must be config used database provider at AddCap() options! eg: services.AddCap(options=>{ options.UseKafka(...) })");
throw new InvalidOperationException("You must be config used message queue provider at AddCap() options! eg: services.AddCap(options=>{ options.UseKafka(...) })");
}

var databaseMarker = app.ApplicationServices.GetService<CapDatabaseStorageMarkerService>();


Loading…
Cancel
Save