Fix issue #166 - Create better error stacks for client side sync errors