Use LOG.error(msg, e)

This commit is contained in:
Prasad Wagle 2016-06-01 09:50:43 -07:00
parent 62b64a009e
commit f6d8de3fe8

View file

@ -90,7 +90,7 @@ public class Credentials {
CredentialsInfoSaving info = gson.fromJson(json, CredentialsInfoSaving.class);
this.credentialsMap = info.credentialsMap;
} catch (IOException e) {
LOG.error("Error loading credentials file");
LOG.error("Error loading credentials file", e);
e.printStackTrace();
}
}