File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,14 @@ async function findSwap(
70
70
71
71
return ServiceResponse . success < SwapResponse > ( data )
72
72
} catch ( error ) {
73
- console . log ( "error: " , error )
73
+ console . log (
74
+ "error: " ,
75
+ error . statusCode ,
76
+ error . message ,
77
+ error . errorMessage ,
78
+ JSON . stringify ( error . data ) ,
79
+ req . url ,
80
+ )
74
81
if ( error instanceof ApiError ) {
75
82
return ServiceResponse . failure (
76
83
error . message ,
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ export const handleServiceResponse = (
8
8
serviceResponse : ServiceResponse < any > ,
9
9
response : Response ,
10
10
) => {
11
- if ( serviceResponse . statusCode !== StatusCodes . OK )
12
- console . log ( serviceResponse )
13
11
return response . status ( serviceResponse . statusCode ) . send ( serviceResponse )
14
12
}
15
13
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
67
67
"1inch" ,
68
68
"li-fi" ,
69
69
"open-ocean" ,
70
- "conveyor" ,
70
+ // "conveyor",
71
71
"uniswap" ,
72
72
] ,
73
73
} ,
@@ -109,7 +109,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
109
109
"1inch" ,
110
110
"li-fi" ,
111
111
"open-ocean" ,
112
- "conveyor" ,
112
+ // "conveyor",
113
113
"uniswap" ,
114
114
] ,
115
115
} ,
You can’t perform that action at this time.
0 commit comments