Skip to content

[SCB-272] Edge find service instances null problem#523

Merged
WillemJiang merged 2 commits intoapache:masterfrom
wujimin:edge-findServiceInstances-null-problem
Jan 23, 2018
Merged

[SCB-272] Edge find service instances null problem#523
WillemJiang merged 2 commits intoapache:masterfrom
wujimin:edge-findServiceInstances-null-problem

Conversation

@wujimin
Copy link
Copy Markdown
Contributor

@wujimin wujimin commented Jan 22, 2018

No description provided.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 87.398% when pulling d44a866 on wujimin:edge-findServiceInstances-null-problem into b05512b on apache:master.

LOGGER.info("failed to load generic class {}, use {}. cause: {}.",
rawClassName,
result.getGenericSignature(),
e.getMessage());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can see the stack trace when passing the exception instance into LOGGER. My suggestion is keeping the e there instead of using e.getMessage().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this affect in edge , and almost all generic class not exist, so will print too many stacktrace
in this time , we know what happened and why it happened, so only message is useful

@WillemJiang WillemJiang merged commit f91ef9e into apache:master Jan 23, 2018
@wujimin wujimin deleted the edge-findServiceInstances-null-problem branch April 2, 2018 00:47
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.

3 participants