Bug 584111 - Better logging of errors for places autocomplete

r=mak
a=gavin
This commit is contained in:
Shawn Wilsher 2010-08-05 10:06:21 -07:00
parent 81a95c1bf9
commit 727a69293b

View File

@ -497,7 +497,8 @@ nsPlacesAutoComplete.prototype = {
handleError: function PAC_handleError(aError)
{
Components.utils.reportError("Places AutoComplete: " + aError);
Cu.reportError("Places AutoComplete: An async statement encountered an " +
"error: " + aError.result + ", '" + aError.message + "'");
},
handleCompletion: function PAC_handleCompletion(aReason)