diff --git a/lib/runner/strategy/docker_container_pool.rb b/lib/runner/strategy/docker_container_pool.rb index dca17ad8..fa4ef574 100644 --- a/lib/runner/strategy/docker_container_pool.rb +++ b/lib/runner/strategy/docker_container_pool.rb @@ -264,7 +264,9 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy @stream = 'stdout' {'type' => @stream, 'data' => event_data} when /#{Regexp.quote(@strategy.command)}/ + # Hide command from output when /bash: cmd:canvasevent: command not found/ + # Hide errors from output when Python program exited before it consumed all canvas events else {'type' => @stream, 'data' => event_data} end