Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#50 closed defect (fixed)

Improve error handling on export

Reported by: Kris Deugau Owned by:
Priority: major Milestone: 1.2.2
Version: 1.2.1 Keywords:
Cc:

Description

export_tiny doesn't handle many errors, so if it's passed a closed filehandle, the cache directory is variously missing, not a directory, or not read/writeable, or if there's some error creating and writing to the individual cache files, or the master file, it just keeps on going spitting warnings to stderr.

Change History (2)

comment:1 by Kris Deugau, 10 years ago

Resolution: fixed
Status: newclosed

(In [566]) /trunk

Add I/O error-handling in export_tiny. There are probably better ways
to handle these than just die'ing, and in the long run adding Yet Another
Config Knob might be useful once we find a useful action other than stopping.

Closes #50, for now.

comment:2 by Kris Deugau, 10 years ago

Milestone: 1.2.2
Note: See TracTickets for help on using tickets.