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

500 Error but not error stack in console log #1358

Closed
CrossLee opened this issue Aug 17, 2020 · 2 comments
Closed

500 Error but not error stack in console log #1358

CrossLee opened this issue Aug 17, 2020 · 2 comments
Assignees
Milestone

Comments

@CrossLee
Copy link

CrossLee commented Aug 17, 2020

controller:

@Inject
PlatformOrderService

@GetAction("/test")
public void test() {
}

service:

public interface PlatformOrderService {
    public PlatformOrderVO creatOrder(String stationId);

    public String callbackUpdateOrder(String out_trade_no);

    public PrinterAndBellContentPojo printBellContent(String out_trade_no);
}

There is no problem starting the app. However when it requests /test the server returns a 500 error page which is okay. The problem is there is no console log for the error, it makes it super hard in diagnosing the issue.

@greenlaw110 greenlaw110 changed the title 注入接口引起的500错误控制台没有错误栈信息 500 Error but not error stack in console log Aug 18, 2020
@greenlaw110
Copy link
Contributor

The issue is brought in by the change for #1341

@greenlaw110
Copy link
Contributor

greenlaw110 commented Aug 19, 2020

The issue is fixed by dfe230e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants