diff --git a/src/MobileAppService/MyDrivingService/Controllers/TripController.cs b/src/MobileAppService/MyDrivingService/Controllers/TripController.cs index 72ad46ac..0a31463d 100644 --- a/src/MobileAppService/MyDrivingService/Controllers/TripController.cs +++ b/src/MobileAppService/MyDrivingService/Controllers/TripController.cs @@ -78,6 +78,11 @@ public async Task PostTrip(Trip trip) { current = await InsertAsync(trip); } + catch (HttpResponseException httpResponseException) + { + aiTelemetry.TrackException(httpResponseException); + aiTelemetry.TrackEvent("Caught HttpResponseException. Response:" + httpResponseException.Response); + } catch (System.Exception ex) { aiTelemetry.TrackException(ex);