1
0
mirror of synced 2026-05-22 14:43:15 +00:00

添加solon适配及demo

This commit is contained in:
noear
2021-05-30 23:10:08 +08:00
parent 1bb91d5dbb
commit 9e8ae52032
@@ -14,10 +14,10 @@ import org.noear.solon.core.handle.Context;
* @author noear
*/
@Component
public class GlobalException implements EventListener<SaTokenException> {
public class GlobalException implements EventListener<Throwable> {
@Override
public void onEvent(SaTokenException e) {
public void onEvent(Throwable e) {
Context c = Context.current();
if (c != null) {