Fixed error in Connection_error macro