Changeset 06470d7


Ignore:
Timestamp:
May 13, 2012, 1:17:13 AM (9 years ago)
Author:
Alex Dehnert <adehnert@mit.edu>
Branches:
master, release-1.9
Children:
65d3fba0, 7a51fb4
Parents:
2354e9a
git-author:
Alex Dehnert <adehnert@mit.edu> (05/13/12 00:50:08)
git-committer:
Alex Dehnert <adehnert@mit.edu> (05/13/12 01:17:13)
Message:
Include names of invalid filters

This makes errors in filters defined in startup files easier to find.
Otherwise, figuring out the name can be hard.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rd199207 r06470d7  
    21862186  f = owl_filter_new(argv[1], argc-2, argv+2);
    21872187  if (f == NULL) {
    2188     owl_function_error("Invalid filter");
     2188    owl_function_error("Invalid filter: %s", argv[1]);
    21892189    return false;
    21902190  }
Note: See TracChangeset for help on using the changeset viewer.