Skip to content

Conversation

@BarryTong65
Copy link
Contributor

@BarryTong65 BarryTong65 commented Jun 12, 2024

Description

replace error code from 500 to 404 when object is not found

Rationale

"gater/object_handler.go:437","msg":"HttpStatusCode[500] action[GetObject] 
\"inner_code\":55001,\"description\":\"failed to get object info from consensus, 
error:rpc error: code = Unknown desc = No such object: unknown request\"

Example

add an example CLI or API response...

Changes

Notable changes:

  • replace error code from 500 to 404 when object is not found

Potential Impacts

  • QA

@BarryTong65 BarryTong65 merged commit b1060f1 into develop Jul 9, 2024
@BarryTong65 BarryTong65 deleted the fix-error-code branch July 9, 2024 02:35
This was referenced Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants