better logging support

This commit is contained in:
Doug Pedrick 2012-04-23 14:28:06 +00:00
parent 4f82e9e2b4
commit 9a7190f139
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class RocksimSaver extends RocketSaver {
marshaller.marshal(toRocksimDocumentDTO(doc), sw); marshaller.marshal(toRocksimDocumentDTO(doc), sw);
return sw.toString(); return sw.toString();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error("Could not marshall a design to Rocksim format. " + e.getMessage());
} }
return null; return null;

View File

@ -44,7 +44,7 @@ public class OpenRocketComponentSaver {
return sw.toString(); return sw.toString();
} }
catch (Exception e) { catch (Exception e) {
e.printStackTrace(); log.error("Could not marshall a preset list. " + e.getMessage());
} }
return null; return null;