Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Improved error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed Jan 17, 2019
1 parent 953939d commit aba1185
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/ads_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,8 @@ void AdsImpl::GenerateAdReportingNotificationShownEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand Down Expand Up @@ -1171,6 +1173,8 @@ void AdsImpl::GenerateAdReportingNotificationResultEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand Down Expand Up @@ -1200,6 +1204,8 @@ void AdsImpl::GenerateAdReportingSustainEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand Down Expand Up @@ -1260,6 +1266,8 @@ void AdsImpl::GenerateAdReportingLoadEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);

Expand All @@ -1284,6 +1292,8 @@ void AdsImpl::GenerateAdReportingBackgroundEvent() {

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand All @@ -1306,6 +1316,8 @@ void AdsImpl::GenerateAdReportingForegroundEvent() {

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand All @@ -1332,6 +1344,8 @@ void AdsImpl::GenerateAdReportingBlurEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand All @@ -1358,6 +1372,8 @@ void AdsImpl::GenerateAdReportingDestroyEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand All @@ -1384,6 +1400,8 @@ void AdsImpl::GenerateAdReportingFocusEvent(

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand All @@ -1406,6 +1424,8 @@ void AdsImpl::GenerateAdReportingRestartEvent() {

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand Down Expand Up @@ -1454,6 +1474,8 @@ void AdsImpl::GenerateAdReportingSettingsEvent() {

writer.EndObject();

writer.EndObject();

auto json = buffer.GetString();
ads_client_->EventLog(json);
}
Expand Down

0 comments on commit aba1185

Please sign in to comment.