mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-08 00:16:09 +00:00
Add error message on manual sync
This commit is contained in:
parent
f59b3e9c5e
commit
6e875efe28
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user