Closes #647 better logging of REST exceptions
include the trace on the first encounter of a new type or simply a new place where a type is thrown from; subsequent instances won't get the trace but handy when debugging if the first one does Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/d05b9fd8 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/d05b9fd8 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/d05b9fd8 Branch: refs/heads/master Commit: d05b9fd81a606f00e95d6567fc68dbc1c6fadbdc Parents: 01141a7 5571b0d Author: Geoff Macartney <[email protected]> Authored: Fri Apr 28 09:18:43 2017 +0100 Committer: Geoff Macartney <[email protected]> Committed: Fri Apr 28 09:18:43 2017 +0100 ---------------------------------------------------------------------- .../resources/AbstractBrooklynRestResource.java | 9 +++++ .../rest/resources/CatalogResource.java | 3 +- .../rest/util/DefaultExceptionMapper.java | 39 +++++++++++++++++--- 3 files changed, 44 insertions(+), 7 deletions(-) ----------------------------------------------------------------------
