unknowntpo commented on PR #8614:
URL: https://github.com/apache/ozone/pull/8614#issuecomment-2968711595

   > Thanks @unknowntpo for this quick patch!
   > 
   > And since current way is quite verbose, we can have add a utility to do 
this for other `sendError` calls in follow-up. (I guess the others get the same 
issue which the message we set for them doesnt show in the response.
   > 
   > <img alt="image" width="652" 
src="https://private-user-images.githubusercontent.com/54034701/454489198-4a6857e2-7e10-4b5c-a5de-8c552db0fbb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDk3Nzg0MzAsIm5iZiI6MTc0OTc3ODEzMCwicGF0aCI6Ii81NDAzNDcwMS80NTQ0ODkxOTgtNGE2ODU3ZTItN2UxMC00YjVjLWE1ZGUtOGM1NTJkYjBmYmIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNjEzVDAxMjg1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNjOTkyNzc1YzYxNmU4MDdiZTM5YWFjNTQ3NWY2OGI1MzU5YmQ5MWU4M2FjYTYwZjMyYzc1Mzc1MGMyYTM3ODEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xSn8lruSfgDgtSkxt9DN9FJXYZa6uUK66M--K8jICUA";>
   > @unknowntpo @adoroszlai WDYT?
   
   Agree, and in order to give user consistent style of response, we may also 
need to define a response model, specify the schema of the response `JSON` 
object.


-- 
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