when index updates fail, try to get localized exception message
This commit is contained in:
parent
823ddcaca8
commit
a4e80383f9
@ -507,7 +507,7 @@ public class UpdateService extends JobIntentService {
|
|||||||
}
|
}
|
||||||
} catch (IndexUpdater.UpdateException e) {
|
} catch (IndexUpdater.UpdateException e) {
|
||||||
errorRepos++;
|
errorRepos++;
|
||||||
repoErrors.add(e.getMessage());
|
repoErrors.add(e.getLocalizedMessage());
|
||||||
Log.e(TAG, "Error updating repository " + repo.address);
|
Log.e(TAG, "Error updating repository " + repo.address);
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user