Skip to content

Commit

Permalink
Update GrainTextIndexer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle authored Apr 15, 2019
1 parent 89df77f commit 8e5cf8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public async Task On(Envelope<IEvent> @event)
if (@event.Payload is ContentEvent contentEvent)
{
var index = grainFactory.GetGrain<ITextIndexerGrain>(contentEvent.SchemaId.Id);

if (index == null)
{
throw new InvalidOperationException("Cannot create reference to grain.");
Expand Down

0 comments on commit 8e5cf8b

Please sign in to comment.