Revert "Added error logging"

This reverts commit ae05f5770b15c144d5aba5d0fc7dc86f5af2b7f9.