From 18bf911983eba2d837cd6f8ea5790aa9ff78ae6f Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Wed, 11 Oct 2023 12:36:29 +0200 Subject: [PATCH] Debug, what raised error? --- test/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 7cd313b0..7f48f99a 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -84,6 +84,9 @@ def signal_process(pid, signal, wait: nil) puts "Sending #{signal} to #{pid}" puts `ps aux | grep #{pid}` Process.kill(signal, pid) + rescue Errno::ESRCH + puts "Exception was for #{signal} on process #{pid}" + raise end end