diff options
author | 2019-04-10 20:48:49 +0000 | |
---|---|---|
committer | 2019-04-10 20:48:49 +0000 | |
commit | 4c8d63c24acd45a9ae19af0434848c273f470ae2 (patch) | |
tree | 2130d02748a0846b155b748b6906a083e973fe03 /src/main/java/org/onap/music/rest/RestMusicAdminAPI.java | |
parent | 871909a6f7f6899d0aa2df902be7df2696fd9280 (diff) | |
parent | 0a358ea9fd56796d7dcf9c2a50df82a4f05b9738 (diff) |
Merge "Log stack traces with logger"
Diffstat (limited to 'src/main/java/org/onap/music/rest/RestMusicAdminAPI.java')
-rwxr-xr-x | src/main/java/org/onap/music/rest/RestMusicAdminAPI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java index adcb6584..fddeebff 100755 --- a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java +++ b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java @@ -5,6 +5,7 @@ * Copyright (c) 2017 AT&T Intellectual Property * =================================================================== * Modifications Copyright (C) 2018 IBM. + * Modifications Copyright (c) 2019 Samsung * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -489,6 +490,7 @@ public class RestMusicAdminAPI { try { result = MusicCore.nonKeyRelatedPut(queryObject, "eventual"); }catch(Exception ex) { + logger.error(EELFLoggerDelegate.errorLogger, ex); return false; } return true; |