File tree 2 files changed +2
-2
lines changed
beacon-node/src/execution/builder
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class ExecutionBuilderHttp implements IExecutionBuilder {
50
50
) {
51
51
const baseUrl = opts . urls [ 0 ] ;
52
52
if ( ! baseUrl ) throw Error ( "No Url provided for executionBuilder" ) ;
53
- logger ?. info ( "External builder" , { urls : opts . urls . map ( toSafePrintableUrl ) . toString ( ) } ) ;
53
+ logger ?. info ( "External builder" , { url : toSafePrintableUrl ( baseUrl ) } ) ;
54
54
this . api = getClient (
55
55
{
56
56
baseUrl,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function toSafePrintableUrl(urlStr: string): string {
26
26
try {
27
27
return new URL ( urlStr ) . origin ;
28
28
} catch ( _ ) {
29
- // Best effort to sanitize if an invalid URL is provided
29
+ // Best effort to sanitize value if an invalid URL is provided
30
30
return urlStr . replace ( / ( .* ?: \/ \/ | .* ?: \/ ) ? ( .* ?: .* ?@ ) / , "$1" ) ;
31
31
}
32
32
}
You can’t perform that action at this time.
0 commit comments