save errors
recover from errors