The rupiah weakening eroded foreign exchange reserves