Add logging to DNL fetch action

This will help us to debug the current MarksDB issue.  This also throws an explicit error earlier when attempting to connect to MarksDB without login credentials being specified, which we know will fail.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=231236317
This commit is contained in:
mcilwain 2019-01-28 09:48:37 -08:00 committed by Ben McIlwain
parent 7f08df0d75
commit 0130f91830
2 changed files with 37 additions and 6 deletions

View file

@ -33,7 +33,7 @@ public class TmchSmdrlActionTest extends TmchActionTestCase {
private TmchSmdrlAction newTmchSmdrlAction() {
TmchSmdrlAction action = new TmchSmdrlAction();
action.marksdb = marksdb;
action.marksdbSmdrlLogin = Optional.empty();
action.marksdbSmdrlLogin = Optional.of("username:password");
return action;
}