Skip to content

Commit

Permalink
Only check stats updater url for an official build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Kuehler committed Dec 2, 2020
1 parent c516ba5 commit aeefc5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion browser/brave_stats/brave_stats_updater.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ void BraveStatsUpdater::SetStatsThresholdCallback(

GURL BraveStatsUpdater::BuildStatsEndpoint(const std::string& path) {
auto stats_updater_url = GURL(usage_server_ + path);
DCHECK(stats_updater_url.is_valid());
#if defined(OFFICIAL_BUILD)
CHECK(stats_updater_url.is_valid());
#endif
return stats_updater_url;
}

Expand Down

0 comments on commit aeefc5d

Please sign in to comment.