- Notifications
You must be signed in to change notification settings - Fork28
Commit5372c2c
committed
Improve error detection/reporting in Catalog.pm and genbki.pl.
Clean up error messages relating to mistakes in .dat files: make sure theyprovide the .dat file name and line number, not the place in the Perlscript that's reporting the problem. Adopt more uniform message phrasing,too.Make genbki.pl spit up on unrecognized field names in the input hashes.Previously, it just silently ignored such fields, which could make amisspelled field name into a very hard-to-decipher problem. (This is ingenbki.pl, *not* Catalog.pm, because we don't want reformat_dat_file.pl tocomplain about unrecognized fields. We'd rather it silently dropped them,to facilitate removing unwanted fields after a reorganization.)1 parent1dec820 commit5372c2c
2 files changed
+30
-16
lines changedLines changed: 12 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
226 | 226 |
| |
227 | 227 |
| |
228 | 228 |
| |
229 |
| - | |
| 229 | + | |
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
249 | 251 |
| |
250 | 252 |
| |
251 | 253 |
| |
| |||
254 | 256 |
| |
255 | 257 |
| |
256 | 258 |
| |
257 |
| - | |
| 259 | + | |
258 | 260 |
| |
259 | 261 |
| |
| 262 | + | |
| 263 | + | |
| 264 | + | |
260 | 265 |
| |
261 | 266 |
| |
262 | 267 |
| |
263 | 268 |
| |
264 | 269 |
| |
265 | 270 |
| |
266 |
| - | |
| 271 | + | |
267 | 272 |
| |
268 | 273 |
| |
269 | 274 |
| |
270 | 275 |
| |
271 | 276 |
| |
272 | 277 |
| |
273 |
| - | |
274 |
| - | |
| 278 | + | |
275 | 279 |
| |
276 | 280 |
| |
277 | 281 |
| |
278 | 282 |
| |
279 |
| - | |
280 | 283 |
| |
281 | 284 |
| |
282 | 285 |
| |
| |||
324 | 327 |
| |
325 | 328 |
| |
326 | 329 |
| |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
| 330 | + | |
| 331 | + | |
335 | 332 |
| |
336 | 333 |
| |
337 | 334 |
| |
|
Lines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
| 283 | + | |
283 | 284 |
| |
284 | 285 |
| |
285 | 286 |
| |
286 | 287 |
| |
287 | 288 |
| |
288 | 289 |
| |
289 | 290 |
| |
| 291 | + | |
| 292 | + | |
| 293 | + | |
290 | 294 |
| |
291 | 295 |
| |
292 | 296 |
| |
| |||
338 | 342 |
| |
339 | 343 |
| |
340 | 344 |
| |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
341 | 355 |
| |
342 | 356 |
| |
343 | 357 |
| |
| |||
724 | 738 |
| |
725 | 739 |
| |
726 | 740 |
| |
| 741 | + | |
| 742 | + | |
| 743 | + | |
727 | 744 |
| |
728 | 745 |
| |
729 | 746 |
| |
| |||
739 | 756 |
| |
740 | 757 |
| |
741 | 758 |
| |
742 |
| - | |
| 759 | + | |
743 | 760 |
| |
744 | 761 |
| |
745 | 762 |
| |
|
0 commit comments
Comments
(0)