feat: Added logging and refactored code to accommodate

This commit is contained in:
David Guler
2022-11-08 07:36:31 +01:00
parent ad05e9e95a
commit 590049b9cf
7 changed files with 57 additions and 59 deletions
@@ -145,7 +145,6 @@ public class JsonGardenPlan implements GardenPlan {
.registerModule(new Jdk8Module())
.writeValue(new File(dataSource.toURI()), cropMap.values());
} catch (URISyntaxException e) {
// TODO: Log
throw new IOException(INVALID_DATASOURCE_MSG, e);
}
}