Skip to content

Commit

Permalink
added nullcheck on manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Apr 9, 2019
1 parent fac7a09 commit d1acc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Akka.Persistence.MongoDb/Journal/MongoDbJournal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ private Persistent ToPersistenceRepresentation(JournalEntry entry, IActorRef sen
{
int? serializerId = null;
Type type = null;
if (!entry.SerializerId.HasValue)
if (!entry.SerializerId.HasValue && !string.IsNullOrEmpty(entry.Manifest))
type = Type.GetType(entry.Manifest, true);
else
serializerId = entry.SerializerId;
Expand Down

0 comments on commit d1acc4a

Please sign in to comment.