Log error message when switching local storage provider fails.

This commit is contained in:
cketti 2011-02-09 06:58:06 +01:00
parent 4aaabddfa5
commit 7e824fc748
1 changed files with 2 additions and 0 deletions

View File

@ -683,6 +683,8 @@ public class Account implements BaseAccount {
switchLocalStorage(id);
successful = true;
} catch (MessagingException e) {
Log.e(K9.LOG_TAG, "Switching local storage provider from " +
mLocalStorageProviderId + " to " + id + " failed.", e);
} finally {
// if migration to/from SD-card failed once, it will fail again.
if (!successful) {