Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2013-11-21 22:19:52 +0000
committerjmisinco2013-11-21 22:20:16 +0000
commit56937887f66cadd6cd7bac5b7ecdbbf6d8282dd2 (patch)
tree90f51dec4445807f686ed235f39200574a2129b6 /plugins/org.eclipse.osee.framework.manager.servlet
parentfa695bcd738e1c56cd21f2926647a1d80f8a6512 (diff)
downloadorg.eclipse.osee-56937887f66cadd6cd7bac5b7ecdbbf6d8282dd2.tar.gz
org.eclipse.osee-56937887f66cadd6cd7bac5b7ecdbbf6d8282dd2.tar.xz
org.eclipse.osee-56937887f66cadd6cd7bac5b7ecdbbf6d8282dd2.zip
bug[ats_XT7YW]: Improve logging and handling of exception on saving edit0.15.0.v201311221539_RC
Diffstat (limited to 'plugins/org.eclipse.osee.framework.manager.servlet')
-rw-r--r--plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/ResourceManagerServlet.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/ResourceManagerServlet.java b/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/ResourceManagerServlet.java
index de359c92563..ac86c9b4a77 100644
--- a/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/ResourceManagerServlet.java
+++ b/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/ResourceManagerServlet.java
@@ -133,13 +133,11 @@ public class ResourceManagerServlet extends SecureOseeHttpServlet {
} catch (MalformedLocatorException ex) {
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
response.setContentType("text/plain");
- handleError(response,
- String.format("Unable to locate resource: [%s] - %s", request.getRequestURI(), ex.getLocalizedMessage()),
- ex);
+ handleError(response, String.format("Unable to locate resource: [%s] - %s", request.getRequestURI(), ex), ex);
} catch (Exception ex) {
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
response.setContentType("text/plain");
- handleError(response, String.format("Error saving resource: [%s]", ex.getLocalizedMessage()), ex);
+ handleError(response, String.format("Error saving resource: [%s]", ex), ex);
}
}

Back to the top