apache / apache/servicecomb-java-chassis

自定义错误message信息为null也序列化

Open
#3,006 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

而且 目前有一个问题是 使用 自定义错误码 返回 必须携带message 即使 message写了 null message 变成了null,能否对message支持空逻辑?
![image](https://user-images.githubusercontent.com/60613511/170471498-b8b2efab-9490-440c-bea1-0284c983384a.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the custom error-code response described in the issue and trace where the null message is serialized. Determine the intended empty-message behavior, then verify the response and add or update tests covering a null message.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.