Throw an exception if adding a note comment fails