diff --git a/lib/mosaic-network/src/main/java/org/eclipse/mosaic/lib/coupling/ClientServerChannel.java b/lib/mosaic-network/src/main/java/org/eclipse/mosaic/lib/coupling/ClientServerChannel.java index 47081fe09..051da003c 100644 --- a/lib/mosaic-network/src/main/java/org/eclipse/mosaic/lib/coupling/ClientServerChannel.java +++ b/lib/mosaic-network/src/main/java/org/eclipse/mosaic/lib/coupling/ClientServerChannel.java @@ -630,7 +630,7 @@ private ClientServerChannelProtos.RadioChannel translateChannel(AdHocChannel cha case SCH6: return ClientServerChannelProtos.RadioChannel.PROTO_SCH6; default: - throw new RuntimeException("Channel " + channel.toString() + " does not exist in MOSAIC"); + throw new RuntimeException("Channel " + channel + " does not exist in MOSAIC"); } }