Add errbit logging
Merge pull request #8 from bigbam505/bm-add-errbit-to-track-errors

Add errbit logging