When the case is truly unexpected, I think we should fail and add it
to the known issues, with a note there to contact CiteULike. I agree
that silently failure to save when doWeb is called is a bug in the
translator. We can add a note to the debug output that the RIS was
empty, or even throw an error, so that the cause is readily discerned
using the standard translator troubleshooting information. In fact, a
verbose explanation of the problem could be thrown (use "throw"), and
it would show up in Report Errors.
I think such an error message should be thrown by the RIS translator
itself when called with empty input -- the line.replace error is a
dead giveaway, but we could throw instead and make it more legible.
Avram