Changed future.then to last .then wins, and refactored and simplified storage_error_continuation