Commit 8053ff05 authored by 董建华's avatar 董建华

调整目录

parent ab100b50
Pipeline #957 canceled with stages
package cn.quantgroup.config; package cn.quantgroup.config;
import cn.quantgroup.properties.ThrErrProProperties;
import cn.quantgroup.exceptionhandler.DefaultDingDingExceptionHandler;
import cn.quantgroup.exceptionhandler.SentryExceptionHandler;
import cn.quantgroup.sentry.config.SentryConstant; import cn.quantgroup.sentry.config.SentryConstant;
import cn.quantgroup.sentry.config.SentryProperties; import cn.quantgroup.sentry.config.SentryProperties;
import io.sentry.Sentry; import io.sentry.Sentry;
......
package cn.quantgroup.config; package cn.quantgroup.config;
import cn.quantgroup.exceptionhandler.SentryExceptionHandler;
import io.sentry.connection.Connection; import io.sentry.connection.Connection;
import io.sentry.connection.ConnectionException; import io.sentry.connection.ConnectionException;
import io.sentry.connection.EventSendCallback; import io.sentry.connection.EventSendCallback;
......
package cn.quantgroup.config; package cn.quantgroup.config;
import cn.quantgroup.exceptionhandler.SentryExceptionHandler;
import io.sentry.DefaultSentryClientFactory; import io.sentry.DefaultSentryClientFactory;
import io.sentry.SentryClient; import io.sentry.SentryClient;
import io.sentry.connection.AsyncConnection; import io.sentry.connection.AsyncConnection;
...@@ -53,6 +54,7 @@ public class ThrErrSentryClientFactory extends DefaultSentryClientFactory { ...@@ -53,6 +54,7 @@ public class ThrErrSentryClientFactory extends DefaultSentryClientFactory {
* @param connection Connection to encapsulate in an {@link AsyncConnection}. * @param connection Connection to encapsulate in an {@link AsyncConnection}.
* @return the asynchronous connection. * @return the asynchronous connection.
*/ */
@Override
protected Connection createAsyncConnection(Dsn dsn, Connection connection) { protected Connection createAsyncConnection(Dsn dsn, Connection connection) {
int maxThreads = getAsyncThreads(dsn); int maxThreads = getAsyncThreads(dsn);
......
package cn.quantgroup.config; package cn.quantgroup.exceptionhandler;
import cn.quantgroup.properties.ThrErrProProperties;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import okhttp3.*; import okhttp3.*;
......
package cn.quantgroup.config; package cn.quantgroup.exceptionhandler;
public interface SentryExceptionHandler { public interface SentryExceptionHandler {
......
package cn.quantgroup.config; package cn.quantgroup.properties;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment