Merge pull request #1 from tsjsdbd/master

Fix log message with the correct destination information
Change emit to emit_error in error callback.