Skip to content

Commit 2557b58

Browse files
committed
Log details for unknown API types
1 parent c71468d commit 2557b58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/model/http/exchange.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ export class HttpExchange extends HTKEventBase {
378378
} else if (apiMetadata.type === 'openrpc') {
379379
return await parseRpcApiExchange(apiMetadata, this);
380380
} else {
381+
console.log('Unknown API metadata type for host', this.request.parsedUrl.hostname);
382+
console.log(apiMetadata);
381383
throw new UnreachableCheck(apiMetadata, m => m.type);
382384
}
383385
} catch (e) {

0 commit comments

Comments
 (0)