3-1-521. Proceedings when party fails to appear. When the warrant of arrest has been returned served, if the person arrested does not appear on the return day, the court or judge may issue another warrant of arrest or may order the undertaking to be prosecuted, or both. If the undertaking be prosecuted, the measure of damages in the action is the extent of the loss or injury sustained by the aggrieved party by reason of the misconduct for which the warrant was issued and the costs of the proceeding.