diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-18 19:33:53 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-18 19:33:53 -0700 |
commit | a0ac43f03a117fb759fb3b5c4b42c1d9a767cd25 (patch) | |
tree | 962cfbba1dc387c207ecedb549dd0fa26724cc53 /src/github | |
parent | 9bfa7a157fa26c94ba5ee3ac8522994742f41a1f (diff) | |
download | dsub-a0ac43f03a117fb759fb3b5c4b42c1d9a767cd25.tar.gz dsub-a0ac43f03a117fb759fb3b5c4b42c1d9a767cd25.tar.bz2 dsub-a0ac43f03a117fb759fb3b5c4b42c1d9a767cd25.zip |
Add error message since it could originate from many spots
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/MainFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/MainFragment.java b/src/github/daneren2005/dsub/fragments/MainFragment.java index e9f06e45..0e18175f 100644 --- a/src/github/daneren2005/dsub/fragments/MainFragment.java +++ b/src/github/daneren2005/dsub/fragments/MainFragment.java @@ -8,6 +8,7 @@ import android.net.Uri; import android.os.Build;
import android.os.Bundle;
import android.os.StatFs;
+import android.util.Log;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.Menu;
@@ -316,6 +317,7 @@ public class MainFragment extends SubsonicFragment { @Override
protected void error(Throwable error) {
+ Log.w(TAG, "Failed to sync offline stats", error);
String msg = context.getResources().getString(R.string.offline_sync_error) + " " + getErrorMessage(error);
Util.toast(context, msg);
}
|