Sebastian Spaeth 1b6d76345a Robustify error msg against more failure
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>
2011-09-26 15:32:24 +02:00
..
2011-09-19 19:59:39 +02:00
2011-09-21 02:32:50 +02:00
2011-09-21 02:32:45 +02:00
2006-08-12 05:15:55 +01:00
2011-05-08 14:25:16 +02:00