Print a better error message

This commit is contained in:
hns 2004-03-10 15:39:31 +00:00
parent aa9cc97c07
commit 460fe9c892

View file

@ -63,7 +63,7 @@ public final class WrappedNodeManager {
} catch (ObjectNotFoundException x) { } catch (ObjectNotFoundException x) {
return null; return null;
} catch (Exception x) { } catch (Exception x) {
nmgr.app.logEvent("Error retrieving Node via DbMapping: " + x); nmgr.app.logEvent("Error retrieving Node for "+key+": " + x);
if (nmgr.app.debug()) { if (nmgr.app.debug()) {
x.printStackTrace(); x.printStackTrace();