Skip to content

Commit

Permalink
Fix NullReferenceException when no LogConsistencyProvider attribute i…
Browse files Browse the repository at this point in the history
…s provided (#3158)
  • Loading branch information
Liversage authored and jdom committed Jul 5, 2017
1 parent 3559958 commit 0cd9970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrleansRuntime/Catalog/Catalog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ private ILogViewAdaptorFactory SetupLogConsistencyProvider(Grain grain, Type gra
SetupStorageProvider(grainType, data);

string msg = string.Format("Assigned log consistency provider with Name={0} to grain type {1}",
attr.ProviderName, grainType.FullName);
consistencyProvider.Name, grainType.FullName);
logger.Verbose2(ErrorCode.Provider_CatalogLogConsistencyProviderAllocated, msg);

return consistencyProvider;
Expand Down

0 comments on commit 0cd9970

Please sign in to comment.