an> = <span class="ruby-node">&quot;Payload validation failed: #{payload.errors.full_messages.join(&#39;, &#39;)}&quot;</span>
    <span class="ruby-identifier">raise</span> <span class="ruby-constant">LoggableActivity</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>, <span class="ruby-identifier">error_message</span>
  <span class="ruby-keyword">end</span>

  <span class="ruby-ivar">@payloads</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier"