Program no longer terminates if .env file is not present (need for testing)
This commit is contained in:
@@ -23,7 +23,7 @@ public class RecipeInformation {
|
||||
private final OkHttpClient client;
|
||||
|
||||
public RecipeInformation(){
|
||||
dotenv = Dotenv.load();
|
||||
dotenv = Dotenv.configure().ignoreIfMissing().ignoreIfMalformed().load();
|
||||
client = new OkHttpClient();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user