File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/java/com/conveyal/datatools/manager/jobs Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,15 @@ public void jobLogic() {
40
40
if (!FeedSource .FeedRetrievalMethod .FETCHED_AUTOMATICALLY .equals (feedSource .retrievalMethod )) {
41
41
continue ;
42
42
}
43
+ // warn if a feed is setup to be fetched automatically, but doesn't have a url defined
44
+ if (feedSource .url == null ) {
45
+ LOG .warn (
46
+ "Feed '{}' ({}) is set to be fetched automatically, but lacks a url!" ,
47
+ feedSource .name ,
48
+ feedSource .id
49
+ );
50
+ continue ;
51
+ }
43
52
// No need to track overall status on this FetchProjectFeedsJob. All "child" jobs execute in threadpool,
44
53
// so we don't know their status.
45
54
FetchSingleFeedJob fetchSingleFeedJob = new FetchSingleFeedJob (feedSource , owner , true );
You can’t perform that action at this time.
0 commit comments