mcountis/dfp-events

Incorrect logical operator in debug_log.log line 113

Closed this issue · 1 comments

Shouldn't line 113:

if (!message && typeof (message.getMessageId()) !== 'number') return;

use || instead of && ?

if (!message || typeof (message.getMessageId()) !== 'number') return;

Good catch. I've changed the logic inside the method to always allow the method to passthrough to the older method as well.

f6af5ad