resolves #556 print warning/error messages using warn
Merge pull request #558 from mojavelinux/print-messages-with-warn

resolves #556 print warning/error messages using warn