Skip to content

Commit

Permalink
Fix AbfsWriteFile.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Apr 5, 2024
1 parent 07e33ad commit 475b9e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions velox/connectors/hive/storage_adapters/abfs/AbfsWriteFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,10 @@ class AbfsWriteFile::Impl {
blobStorageFileClient_->getProperties();
return true;
} catch (Azure::Storage::StorageException& e) {
if (e.StatusCode == Azure::Core::Http::HttpStatusCode::NotFound) {
return false;
} else {
if (e.StatusCode != Azure::Core::Http::HttpStatusCode::NotFound) {
throwStorageExceptionWithOperationDetails("GetProperties", path_, e);
}
return false;
}
}

Expand Down

0 comments on commit 475b9e3

Please sign in to comment.