Skip to content

Commit

Permalink
Bring back the logging of func name in the retry function
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderattar committed Aug 29, 2023
1 parent f26fea5 commit b73cea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/network-monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2128,6 +2128,6 @@ export class NetworkMonitor {
}
}

throw new Error(`Maximum attempts reached. Did not succeed after ${attempts} attempts.`)
throw new Error(`Maximum attempts reached for ${func.name}, function did not succeed after ${attempts} attempts`)
}
}

0 comments on commit b73cea4

Please sign in to comment.