3177: store input pdh value even when input dataclass is File. Update two tests to...
[arvados.git] / apps / workbench / app / helpers / pipeline_components_helper.rb
index 75840110a1f1fc47f92d5c8ec7b15f9b29d2eb41..9fead2c8f0ed0a5c167984ab50cd260b1b0d665b 100644 (file)
@@ -4,10 +4,12 @@ module PipelineComponentsHelper
       render(partial: "pipeline_instances/show_components_#{template_suffix}",
              locals: locals)
     rescue Exception => e
+      logger.error "#{e.inspect}"
       logger.error "#{e.backtrace.join("\n\t")}"
       case fallback
       when :json
-        render(partial: "pipeline_instances/show_components_json")
+        render(partial: "pipeline_instances/show_components_json",
+               locals: {error_name: e.inspect, backtrace: e.backtrace.join("\n\t")})
       end
     end
   end