mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-23 06:13:04 +00:00
Add error message on manual sync
This commit is contained in:
@@ -53,8 +53,10 @@ public interface ASyncSMSSync {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
_client.doPushRequest(_smsList);
|
_client.doPushRequest(_smsList);
|
||||||
|
nMgr.dropSyncErrorMsg();
|
||||||
} catch (final OCSyncException e) {
|
} catch (final OCSyncException e) {
|
||||||
Log.e(TAG, _context.getString(e.getErrorId()));
|
Log.e(TAG, _context.getString(e.getErrorId()));
|
||||||
|
nMgr.setSyncErrorMsg(_context.getString(e.getErrorId()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nMgr.dropSyncProcessMsg();
|
nMgr.dropSyncProcessMsg();
|
||||||
|
|||||||
Reference in New Issue
Block a user