From 7038d3e4b3a28d99497f61249f5f7bdd72182246 Mon Sep 17 00:00:00 2001 From: Cameron Dawson Date: Wed, 15 Jan 2014 20:10:56 -0800 Subject: [PATCH] fix logging message --- ui/js/services/resultsets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/js/services/resultsets.js b/ui/js/services/resultsets.js index 8f20f3ac6..085e98106 100644 --- a/ui/js/services/resultsets.js +++ b/ui/js/services/resultsets.js @@ -272,14 +272,14 @@ treeherder.factory('thResultSetModelManager', var updateJob = function(newJob) { var loadedJob = jobMap[newJob.id]; if (loadedJob) { - $log.debug("job already loaded, updating"); + $log.debug("updating existing job"); $.extend(loadedJob, newJob); } else { // this job is not yet in the model or the map. add it to both $log.debug("adding new job"); var rsMapElement = rsMap[newJob.result_set_id]; if (!rsMapElement) { - console.error("we should have added the resultset for this job already!"); + $log.error("we should have added the resultset for this job already!"); return; }