chore: logging
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Failing after 12s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Has been skipped
Build, Package and Push Images / container-build (push) Has been skipped
Build, Package and Push Images / container-sbom-scan (push) Has been skipped
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Failing after 12s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Has been skipped
Build, Package and Push Images / container-build (push) Has been skipped
Build, Package and Push Images / container-sbom-scan (push) Has been skipped
This commit is contained in:
parent
24893b861a
commit
2da3bc98cd
1 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ public class PacketDistributorService : IHostedService
|
|||
return packetsWithId;
|
||||
}
|
||||
|
||||
LoggerMessages.PacketLoggerMessages.NoPacketsFound(this._logger);
|
||||
this._logger.NoPacketsFound();
|
||||
throw new IncompleteInitialization();
|
||||
}
|
||||
|
||||
|
@ -121,7 +121,7 @@ public class PacketDistributorService : IHostedService
|
|||
return packetHandlersWithId;
|
||||
}
|
||||
|
||||
LoggerMessages.PacketLoggerMessages.NoPacketHandlersFound(this._logger);
|
||||
this._logger.NoPacketHandlersFound();
|
||||
throw new IncompleteInitialization();
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,7 @@ public class PacketDistributorService : IHostedService
|
|||
}
|
||||
|
||||
var packet = value(item.MessageBody);
|
||||
LoggerMessages.PacketLoggerMessages.PacketData(this._logger, JsonConvert.SerializeObject(packet));
|
||||
this._logger.PacketData(JsonConvert.SerializeObject(packet));
|
||||
this._packetHandlersInstantiation[item.OperationCode].GetType()
|
||||
.GetMethod(nameof(IPacketHandler<IPacket>.HandleAsync))
|
||||
?.Invoke(this._packetHandlersInstantiation[item.OperationCode], new object[] { packet, item.Session });
|
||||
|
|
Loading…
Add table
Reference in a new issue