Skip to content

question: error stack does not include the original exception, which increases the troubleshooting load. #6156

@yuluo-yx

Description

@yuluo-yx

The error stack does not include the original exception, which increases the troubleshooting load.

if (CollectionUtils.isEmpty(uriList)) {
    return "";
}
String pluginName = PluginNameAdapter.rpcTypeAdapter(rpcType());
SelectorDO selectorDO = selectorService.findByNameAndPluginNameAndNamespaceId(selectorName, pluginName, namespaceId);
if (Objects.isNull(selectorDO)) {
    throw new ShenyuException("doRegister Failed to execute, wait to retry.");
}

mabye this:

throw new ShenyuException("doRegister Failed to execute, wait to retry.");
->
throw new ShenyuException("doRegister Failed to execute, wait to retry. selectorDO is null");

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions