Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
CR comments
  • Loading branch information
nata7che committed Jun 24, 2021
commit 38b78c6a007790444fe37e5be3e4b8c08a06911c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export function handleExecutionResult(
span: Span,
pgResult: pgTypes.QueryResult | pgTypes.QueryArrayResult | unknown
) {
if (config.responseHook !== undefined && pgResult !== undefined) {
if (typeof config.responseHook === 'function') {
safeExecuteInTheMiddle(
() => {
config.responseHook!(span, {
Expand Down