added very very simple err logger on client side