masfworld opened a new pull request, #14927:
URL: https://github.com/apache/iceberg/pull/14927

   There are scenarios where there are `RESTException` issues but the message 
is providing value. For instance:
   ```
   org.apache.iceberg.exceptions.RESTException: Unable to process: \n\tat
   
org.apache.iceberg.rest.ErrorHandlers$DefaultErrorHandler.accept(ErrorHandlers.java:250)\n\tat
   
org.apache.iceberg.rest.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:124)\n\tat
   
org.apache.iceberg.rest.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:108)\n\tat
   ```
   
   So, the idea is to provide `code` and `type` in `RESTException` to get more 
context.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to