Skip to content

Commit

Permalink
fix: JOIN-32570 Fix error in pubsub lib when schema is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-taran committed Jun 16, 2023
1 parent 74fb3e1 commit 40dcae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pubsub/src/Publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class Publisher<T = unknown> {
try {
return !!(await this.client.schema(this.topicSchemaName).get())
} catch (e) {
this.logger?.info(`Schema ${this.topicSchemaName} can't be found`)
this.logger?.info(`Schema ${this.topicSchemaName} can't be found`, e)
return false
}
}
Expand Down

0 comments on commit 40dcae4

Please sign in to comment.