[arte] Capture and output error message