Fix W5-A4 to append text in the output and logs exceptions