diff --git a/spec/unit/hooks_spec.rb b/spec/unit/hooks_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/hooks_spec.rb
+++ b/spec/unit/hooks_spec.rb
@@ -94,6 +94,7 @@ describe 'Flor unit' do
 
     it 'may filter on point:/p:' do
 
+begin
       ms0 = []
       @unit.hook(point: 'execute') { |m| ms0 << Flor.dup(m); [] }
       ms1 = []
@@ -108,6 +109,12 @@ describe 'Flor unit' do
         ms0.collect { |m| m['point'] }.uniq).to eq(%w[ execute ])
       expect(
         ms1.collect { |m| m['point'] }.uniq).to eq(%w[ execute terminated ])
+rescue (defined?(Java::JavaLang::Exception) ? Java::JavaLang::Exception : Exception) => ex
+  puts "=" * 80
+  p ex.inspect
+  puts ex.backtrace
+  puts "-" * 80
+end
     end
 
     it 'may filter on domain:/d:' do
Gather info about JRuby thread-safety in hook spec