Skip to content

Commit

Permalink
Typo! sourcePath
Browse files Browse the repository at this point in the history
  • Loading branch information
psainics committed Jan 17, 2025
1 parent 60162f4 commit 1e645dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cdap/plugin/gcp/gcs/StorageClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private void pairTraverse(GCSPath sourcePath, GCSPath destPath, boolean recursiv
sourceBucket = storage.get(sourcePath.getBucket());
} catch (Exception e) {
// Add more descriptive error message
String errorReason = String.format("Unable to access GCS bucket '%s'", destPath.getBucket());
String errorReason = String.format("Unable to access GCS bucket '%s'", sourcePath.getBucket());
throw GCPErrorDetailsProviderUtil.getHttpResponseExceptionDetailsFromChain(e, errorReason, ErrorType.UNKNOWN,
true, GCPUtils.GCS_SUPPORTED_DOC_URL);
}
Expand Down

0 comments on commit 1e645dd

Please sign in to comment.