Skip to content

Commit 50f755d

Browse files
committed
[增加] 增加ActorId 异常的日志打印
1 parent 40031f2 commit 50f755d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GameFrameX.Core/Utility/ActorIdGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static ushort GetActorType(long actorId)
8080
{
8181
if (actorId < GlobalConst.MinServerId)
8282
{
83-
throw new ArgumentOutOfRangeException(nameof(actorId), "actorId is less than min server id, min server id is " + GlobalConst.MinServerId);
83+
throw new ArgumentOutOfRangeException(nameof(actorId), $"actorId :{actorId} is less than min server id, min server id is {GlobalConst.MinServerId}");
8484
}
8585

8686
if (actorId < GlobalConst.MaxGlobalId)

0 commit comments

Comments
 (0)