mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Use LOG.error(msg, e)
This commit is contained in:
parent
c628099cb9
commit
62b64a009e
2 changed files with 3 additions and 5 deletions
|
|
@ -114,9 +114,8 @@ public class Credentials {
|
|||
out.append(jsonString);
|
||||
out.close();
|
||||
fos.close();
|
||||
} catch (IOException e) {
|
||||
LOG.error("Error saving credentials file");
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
LOG.error("Error saving credentials file", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,7 @@ public class NotebookAuthorization {
|
|||
try {
|
||||
loadFromFile();
|
||||
} catch (IOException e) {
|
||||
LOG.error("Error loading NotebookAuthorization");
|
||||
e.printStackTrace();
|
||||
LOG.error("Error loading NotebookAuthorization", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue