Error if logging an null error
Merge pull request #94 from mispencer/NullErrorLog

Error if logging an null error