1b6d76345a
When syncfolder() fails, we output an error message containing the foldername per the localfolder variable. However, the localfolder variable is assigned inside our try: block and when the error occurs there, we will have no localfolder variable to use for output. This caused the errormsg to cause an Exception itself which unhelpfully distracts from the root cause of the error. Reconstruct the folder name in a bit more complex way, but in a way so it is guaranteed to work (by relying on parameters passed in to the function). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
error.py | ||
imaplib2.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py |