FileDetailFragment is not reused in double pane view to avoid problems with preview...
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / syncadapter / FileSyncAdapter.java
index 0bd2ec2..5689262 100644 (file)
@@ -100,6 +100,10 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
         } catch (DavException e) {\r
             syncResult.stats.numIoExceptions++;\r
             e.printStackTrace();\r
         } catch (DavException e) {\r
             syncResult.stats.numIoExceptions++;\r
             e.printStackTrace();\r
+        } catch (Throwable t) {\r
+            //TODO count ; any type of exception should be treated, and the progress indicator finished;\r
+            //             reporting the user about bad synchronizations should be discussed\r
+            t.printStackTrace();\r
         }\r
         sendStickyBroadcast(false, -1);        \r
     }\r
         }\r
         sendStickyBroadcast(false, -1);        \r
     }\r