A few debug message tweaks

This commit is contained in:
Dan Stillman 2016-04-01 03:34:03 -04:00
parent d20e90c6fa
commit 4cccf27bb1
2 changed files with 3 additions and 4 deletions

View File

@ -424,6 +424,8 @@ Zotero.Schema = new function(){
try { try {
yield Zotero.proxyAuthComplete.delay(1000); yield Zotero.proxyAuthComplete.delay(1000);
Zotero.debug("Updating bundled " + (mode || "files"));
// Get path to add-on // Get path to add-on
// Synchronous in Standalone // Synchronous in Standalone

View File

@ -190,9 +190,6 @@ Zotero.Sync.Storage.Mode.WebDAV.prototype = {
var username = this.username; var username = this.username;
var password = this.password; var password = this.password;
Zotero.debug('=-=-=-=');
Zotero.debug(password);
if (!username) { if (!username) {
throw new this.VerificationError("NO_USERNAME"); throw new this.VerificationError("NO_USERNAME");
} }
@ -999,7 +996,7 @@ Zotero.Sync.Storage.Mode.WebDAV.prototype = {
var href = Zotero.Utilities.xpathText( var href = Zotero.Utilities.xpathText(
response, "D:href", { D: 'DAV:' } response, "D:href", { D: 'DAV:' }
) || ""; ) || "";
Zotero.debug(href); Zotero.debug("Checking response entry " + href);
// Strip trailing slash if there isn't one on the root path // Strip trailing slash if there isn't one on the root path
if (!trailingSlash) { if (!trailingSlash) {