The argument to trailing_context() isn't the position of the error, it's
the number of chars of output you want. Since the first error is at
position zero, you're asking for zero chars of trailing context and
getting an empty string.
Cheers,
Ryan
--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
ry...@rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details