s="nf">end</span><span class="p">()</span>
         <span class="p">}</span>
         <span class="k">catch</span> <span class="p">{</span>
             <span class="kt">Log</span><span class="o">.</span><span class="nf">error</span><span class="p">(</span><span class="s">"Failed to send error response to Upgrade request"</span><span class="p">)</span>
         <span class="p">}</span>
         <span class="k">return</span>
     <span class="p">}</span>
 <span class="p">}</span>
</code></pre>

             