Show error message when attaching file fails.