better logging support
This commit is contained in:
parent
4f82e9e2b4
commit
9a7190f139
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user