adds error handling to restful storage
Merge branch 'add_error_handling_restful_storage'