@@ -58,7 +58,6 @@ export class ActionsRegistry {
5858 url : string | URL ,
5959 type : LookupType = 'action' ,
6060 ) : RegisteredEntity | null {
61- console . log ( `Looking up ${ type } for URL: ${ url } ` ) ;
6261 if ( type === 'action' ) {
6362 return this . lookupAction ( url ) ;
6463 }
@@ -80,7 +79,10 @@ export class ActionsRegistry {
8079 const host = urlObj . host ;
8180 return this . actionsByHost [ host ] ?? null ;
8281 } catch ( e ) {
83- console . error ( `Failed to lookup action for URL: ${ url } ` , e ) ;
82+ console . error (
83+ `[@dialectlabs/blinks] Failed to lookup action for URL: ${ url } ` ,
84+ e ,
85+ ) ;
8486 return null ;
8587 }
8688 }
@@ -91,7 +93,10 @@ export class ActionsRegistry {
9193 const host = urlObj . host ;
9294 return this . websitesByHost [ host ] ?? null ;
9395 } catch ( e ) {
94- console . error ( `Failed to lookup website for URL: ${ url } ` , e ) ;
96+ console . error (
97+ `[@dialectlabs/blinks] Failed to lookup website for URL: ${ url } ` ,
98+ e ,
99+ ) ;
95100 return null ;
96101 }
97102 }
@@ -102,7 +107,10 @@ export class ActionsRegistry {
102107 const host = urlObj . host ;
103108 return this . interstitialsByHost [ host ] ?? null ;
104109 } catch ( e ) {
105- console . error ( `Failed to lookup interstitial for URL: ${ url } ` , e ) ;
110+ console . error (
111+ `[@dialectlabs/blinks] Failed to lookup interstitial for URL: ${ url } ` ,
112+ e ,
113+ ) ;
106114 return null ;
107115 }
108116 }
@@ -167,15 +175,18 @@ async function fetchActionsRegistryConfig(): Promise<ActionsRegistryConfig> {
167175
168176 if ( ! response . ok ) {
169177 console . error (
170- 'Failed to fetch actions registry config' ,
178+ '[@dialectlabs/blinks] Failed to fetch actions registry config' ,
171179 await response . json ( ) ,
172180 ) ;
173181 return { actions : [ ] , interstitials : [ ] , websites : [ ] } ;
174182 }
175183
176184 return await response . json ( ) ;
177185 } catch ( e ) {
178- console . error ( 'Failed to fetch actions registry config' , e ) ;
186+ console . error (
187+ '[@dialectlabs/blinks] Failed to fetch actions registry config' ,
188+ e ,
189+ ) ;
179190 return { actions : [ ] , interstitials : [ ] , websites : [ ] } ;
180191 }
181192}
0 commit comments