commit add2c629cc10dfa4e8a62bd330ce83b3346430b1 parent 1fc74a3f93fe76eed9194ab08110198bcb296b49 Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 21 Sep 2009 22:20:30 +0000 Clarify Windows path-too-long error message Diffstat:
| M | chrome/content/zotero/xpcom/storage.js | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -778,7 +778,10 @@ Zotero.Sync.Storage = new function () { // Require 40 available characters in path -- this is arbitrary, // but otherwise filenames are going to end up being cut off if (newLength < 40) { - throw ("Storage directory path is too long in " + funcName); + var msg = "Due to a Windows path length limitation, your Zotero data directory " + + "is too deep in the filesystem for syncing to work reliably. " + + "Please relocate your Zotero data to a higher directory."; + throw (msg); } // Shorten file if it's too long -- we don't relink it, but this should