Better error handling by Bitcasa-Upload