Skip to content

Commit

Permalink
Fix names reported in exceptions (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored Oct 17, 2023
1 parent 812b0a0 commit e2e42ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/net/KEFCore.SerDes.Avro/AvroKEFCoreSerDes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public Binary()
}
else if (!typeof(T).IsArray)
{
throw new InvalidOperationException($"{typeof(Binary<>).FullName} cannot manage {typeof(T).Name}, override or build a new serializaer");
throw new InvalidOperationException($"{typeof(Binary<>).ToAssemblyQualified()} cannot manage {typeof(T).Name}, override or build a new serializaer");
}
}

Expand Down Expand Up @@ -127,7 +127,7 @@ public Json()
}
else if (!typeof(T).IsArray)
{
throw new InvalidOperationException($"{typeof(Json<>).FullName} cannot manage {typeof(T).Name}, override or build a new serializaer");
throw new InvalidOperationException($"{typeof(Json<>).ToAssemblyQualified()} cannot manage {typeof(T).Name}, override or build a new serializaer");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/net/KEFCore.SerDes/DefaultKEFCoreSerDes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Json()
}
else if (!typeof(T).IsArray)
{
throw new InvalidOperationException($"KEFCoreSerDes cannot manage {typeof(T).Name}, override or build a new serializaer");
throw new InvalidOperationException($"{typeof(Json<>).ToAssemblyQualified()} cannot manage {typeof(T).Name}, override or build a new serializaer");
}
}

Expand Down

0 comments on commit e2e42ae

Please sign in to comment.