Mass. Gen. Laws ch. 223, § 111
The court may, upon such inquiry, award to either party reasonable costs and, if the prior attachment is maintained, may award to the attaching creditor reasonable damages.