Skip to content

Commit

Permalink
fix info
Browse files Browse the repository at this point in the history
  • Loading branch information
mchades committed Aug 9, 2023
1 parent 7afd79c commit 78210e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public <T extends Entity> T deserialize(byte[] bytes, Class<T> clazz, ClassLoade
loadClass(
ENTITY_TO_PROTO.get(k.getCanonicalName()), getClass().getClassLoader());
} catch (Exception e) {
throw new RuntimeException("Failed to create proto class " + k.getName(), e);
throw new RuntimeException("Failed to create proto class " + k.getCanonicalName(), e);
}
});

Expand All @@ -89,7 +89,7 @@ public <T extends Entity> T deserialize(byte[] bytes, Class<T> clazz, ClassLoade
return serdeClazz.newInstance();
} catch (Exception e) {
throw new RuntimeException(
"Failed to instantiate serde class " + entityClazz.getName(), e);
"Failed to instantiate serde class " + entityClazz.getCanonicalName(), e);
}
});
Message anyMessage = any.unpack(protoClass);
Expand Down

0 comments on commit 78210e4

Please sign in to comment.