Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / application / api_error.html.erb
index 10ffbb775fa1c637e7160adb0afde658953a7c9c..8f3c69bf8e12c9663972f16985e1347464502a99 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <h2>Oh... fiddlesticks.</h2>
 
 <p>An error occurred when Workbench sent a request to the Arvados API server.  Try reloading this page.  If the problem is temporary, your request might go through next time.
@@ -21,3 +25,5 @@ If that doesn't work, the information below can help system administrators track
   <% end %>
 </dl>
 <% end %>
+
+<%= render :partial => "report_error", :locals => {api_error: api_error, error_type: 'api'} %>