Azure / azure-notificationhubs-android

Android SDK and Samples for Azure Notification Hubs
Apache License 2.0
33 stars 63 forks source link

Adding detail to NotificationHubExcetion message. #153

Closed marstr closed 3 years ago

marstr commented 3 years ago

Previously, response information like status code and body were buried in the Exception type. This change adds those details to the foreground by adding them the [Exception Message](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getMessage()).

marstr commented 3 years ago

While investigating https://github.com/Azure/azure-notificationhubs-xamarin/issues/21, it would have been a lot easier to get information about the problem if I didn't need to request it specifically from the customer.