Skip to content

Commit

Permalink
CLEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Aug 30, 2023
1 parent 0302127 commit 2d1ffd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -993,9 +993,8 @@ export class CustomMetrics {
try {
await this.client.send(command)
return true
} catch (err) {
/* istanbul ignore next */ ;(function (err, log) {
/* istanbul ignore next */
} catch (err) /* istanbul ignore next */ {
;(function (err, log) {
// SDK V3 puts the code in err.name (Ugh!)
let code = err.code || err.name
if (code == 'ConditionalCheckFailedException') {
Expand Down

0 comments on commit 2d1ffd2

Please sign in to comment.