Comment 2 for bug 414055

Revision history for this message
James Westby (james-w) wrote :

Hi,

I think you have to catch this error and treat it as "no credentials".

My bet is that the file is empty due to issues when writing. When
trying to read it isn't in the required format and so no credentials
can be gained, therefore it raises an error so that the caller can
do something about it if they like. Therefore I think it's part of
the interface.

Can you suggest a better way this could be handled?

Thanks,

James