Azure / azure-iot-protocol-gateway

Azure IoT protocol gateway enables protocol translation for Azure IoT Hub
Other
224 stars 152 forks source link

Use inner exception #171

Closed AleksandrZHANG closed 3 years ago

AleksandrZHANG commented 3 years ago

It shrinks the exception to Gateway client from

Message: System.AggregateException: One or more errors occurred. ---> Microsoft.Azure.Devices.ProtocolGateway.Mqtt.ChannelMessageProcessingException ---> Microsoft.Azure.Devices.Common.Core.Exceptions.IotHubException

to Microsoft.Azure.Devices.Common.Core.Exceptions.IotHubException

AleksandrZHANG commented 3 years ago

abandon