Csync: Set error at correct place