зеркало из https://github.com/mozilla/gecko-dev.git
Bug 723561 - TelemetryStopwatch follow-up: display key name on error. r=gavin
This commit is contained in:
Родитель
5c718970a7
Коммит
20fd177e9a
|
@ -49,7 +49,8 @@ let TelemetryStopwatch = {
|
|||
|
||||
if (timers.hasOwnProperty(aHistogram)) {
|
||||
delete timers[aHistogram];
|
||||
Cu.reportError("TelemetryStopwatch: key was already initialized");
|
||||
Cu.reportError("TelemetryStopwatch: key \"" +
|
||||
aHistogram + "\" was already initialized");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче