Print the canonicalWebUrl for warnings.

SuperManifest is deployed on googlesource.com, and the log messages
are the only way to get diagnostics. In general, log messages on
googlesource.com include the hostname of the problematic site by
modifying the thread names.

Unfortunately, updates in SuperManifest are driven by ReceiveCommits,
which runs in the executor configured by AsyncReceiveCommits. Tasks in
this executor have no non-opensource call frames, and therefore we
have no injection points to modify the thread name.

Making the AsyncReceiveCommits executor injectable to fix the log
messages generally is quite involved, so here, we add the
CanonicalWebUrl to SuperManifest messages as a workaround.

Change-Id: I41795e50986d7164e2362f98e4bef37eb1de395a
1 file changed
tree: 52c9ac03ba338ccf80c86a77cb95ea25a38b8d13
  1. src/
  2. BUILD
  3. LICENSE