when index updates fail, try to get localized exception message

This commit is contained in:
Hans-Christoph Steiner 2019-01-02 21:56:15 +01:00
parent 823ddcaca8
commit a4e80383f9

View File

@ -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();
} }