summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
authordtk <dtk@gmx.de>2012-01-04 17:26:34 +0100
committerdtk <dtk@gmx.de>2012-01-04 18:11:14 +0100
commitcdf3cf15cf12caa2c4dd854a42ca325df2db4491 (patch)
tree2cf15915ab4eea783cef94d92ccfad546268df93 /alot/init.py
parente702222b5e3d2b258230a35ee79c6e842a966d1a (diff)
Handle missing highlighting rules
So far exceptions were raised upon detection of an absent or syntactically invalid `thread_highlight_rules` option. This commit changes the behaviour to logging an exception and returning an empty set of rules as a fallback which will lead to the disabling of all highlighting. Cf https://github.com/pazz/alot/pull/226#issuecomment-3354066.
Diffstat (limited to 'alot/init.py')
0 files changed, 0 insertions, 0 deletions