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 723b0ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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-10-07

- 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haraka-plugin-spf",
"version": "1.2.7",
"version": "1.2.8",
"description": "Sender Policy Framework (SPF) plugin for Haraka",
"main": "index.js",
"files": [
Expand Down

0 comments on commit 723b0ec

Please sign in to comment.