comparison mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 1730:e02af2b32f30

mod_storage_xmlarchive: Increase severity of log message regarding unexpected missing items
author Kim Alvefur <zash@zash.se>
date Mon, 11 May 2015 14:29:58 +0200
parents 3431c4a4d162
children b3f048af2dfe
comparison
equal deleted inserted replaced
1729:3431c4a4d162 1730:e02af2b32f30
128 end 128 end
129 129
130 for i = first_item, last_item, step do 130 for i = first_item, last_item, step do
131 local item = items[i]; 131 local item = items[i];
132 if not item then 132 if not item then
133 module:log("debug", "data[%q][%d] is nil", dates[d], i); 133 module:log("warn", "data[%q][%d] is nil", dates[d], i);
134 break; 134 break;
135 end 135 end
136 if xmlfile and in_range 136 if xmlfile and in_range
137 and (not query.with or item.with == query.with) 137 and (not query.with or item.with == query.with)
138 and (not query.start or item.when >= query.start) 138 and (not query.start or item.when >= query.start)