Skip to content

Commit

Permalink
error not errorwithcause
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner committed Oct 4, 2024
1 parent 0612584 commit ad51a80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ function retryDestination(
},
{
retries: 3,
onRetry: (err: ErrorWithCause) =>
onRetry: (err: Error) =>
logger.warn(
`Failed to retrieve destination ${destinationName} - doing a retry. Original Error ${err.message}`
)
Expand Down

0 comments on commit ad51a80

Please sign in to comment.