Write metadata of the failed applications

Also include *why* applications failed to be included.