Skip to content

Commit

Permalink
fix: error out on when even new observe api is used on go and js sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Jan 17, 2024
1 parent 7eca8ef commit 9def894
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/lib/collectors/span/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export class SpanCollector implements Collector {
if (apiNames.has(iName.name)) {
throw new Error("js sdk does not yet support Observe API");
}
} else if (iName.module === 'dylibso:observe/api') {
throw new Error("js sdk does not yet support Observe API");
}
}
}
Expand Down

0 comments on commit 9def894

Please sign in to comment.