Skip to content

Commit

Permalink
Propagate underlying exception in NativeSystemSessionPropertyProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
arhimondr committed Oct 29, 2024
1 parent b1ab1e4 commit a4fe924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private List<PropertyMetadata<?>> fetchSessionProperties()
return propertyMetadataList;
}
catch (Exception e) {
throw new PrestoException(INVALID_ARGUMENTS, "Failed to get session properties from sidecar.");
throw new PrestoException(INVALID_ARGUMENTS, "Failed to get session properties from sidecar.", e);
}
}

Expand Down

0 comments on commit a4fe924

Please sign in to comment.