When it is suggested by the plaintiff in any attachment at law or in equity that the garnishee has not fully disclosed the debts or liabilities due by him to, or personal property in his possession or under his control of, the defendant in such attachment, or has not delivered to the officer the property, or paid the money, for which he was liable, the court shall cause a jury to be impaneled, without any formal pleadings, to inquire as to such debts or liabilities or property, or as to such payment or delivery, unless a trial by jury be waived by the parties, and if trial by a jury be waived, the court shall proceed to hear and determine the questions at issue. Whether the issues of fact be found by the court or by a jury, the court shall proceed in respect to any facts so found, in the same manner as if they had been confessed by the garnishee, but either party shall be entitled to a writ of error or an appeal as in other cases. If the verdict or decision of the court be for the garnishee, he shall have judgment for his costs against the plaintiff, and if the judgment be against the garnishee, he shall be adjudged liable for the costs of the garnishment proceeding.