tweak logging error message
fix typo
Merge pull request #254 from darxriggs/some-codenarc-fixes

Fixed some CodeNarc violations
reverted fix of Codenarc violation which broke tests