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 86aba1b commit e94c46f
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 @@ -70,6 +70,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 e94c46f

Please sign in to comment.