Add bluetooth error callback, patch logs