Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoggerFactory throws exception and catch it self. #818

Closed
ujjboy opened this issue Dec 12, 2019 · 0 comments
Closed

LoggerFactory throws exception and catch it self. #818

ujjboy opened this issue Dec 12, 2019 · 0 comments
Milestone

Comments

@ujjboy
Copy link
Member

ujjboy commented Dec 12, 2019

Describe the bug

throw new SofaRpcRuntimeException(implClass + " is not type of " + Logger.class);
}
} catch (Exception e) {
throw new SofaRpcRuntimeException("Error when getLogger of " + name

Expected behavior

                throw new SofaRpcRuntimeException(implClass + " is not type of  " + Logger.class);
            }
        } catch (SofaRpcRuntimeException e) {
            throw e;    //  <!-- catch this
        } catch (Exception e) {
       ...

Actual behavior

Steps to reproduce

Minimal yet complete reproducer code (or GitHub URL to code)

Environment

  • SOFARPC version: 5.6.2
  • JVM version (e.g. java -version):
  • OS version (e.g. uname -a):
  • Maven version:
  • IDE version:
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

No branches or pull requests

2 participants