Skip to content

Commit

Permalink
fix(mech_MX): fix crit error on logging undef addrs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoobleD committed Oct 7, 2024
1 parent f624ba2 commit e3b2902
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### [1.2.8] - 2024-08-14

- fix: mech_MX fix crit error on logging undef addrs

### [1.2.7] - 2024-08-14

- test: in index.js, unref timers, so test suite exits
Expand Down
2 changes: 1 addition & 1 deletion lib/spf.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ class SPF {
}
}

this.log_debug(`mech_mx: mx=${mx} addresses=${addrs.join(',')}`)
this.log_debug(`mech_mx: mx=${mx} addresses=${addrs?.join(',')}`)
addresses = addrs.concat(addresses)
}

Expand Down

0 comments on commit e3b2902

Please sign in to comment.