diff --git a/lib/raven/cli.rb b/lib/raven/cli.rb index 96dfc916a..a3a364f4e 100644 --- a/lib/raven/cli.rb +++ b/lib/raven/cli.rb @@ -53,7 +53,11 @@ def self.test(dsn = nil) puts "-> event ID: #{evt.id}" end elsif evt #async configuration - puts "-> event ID: #{evt.value.id}" + if evt.value.is_a? Hash + puts "-> event ID: #{evt.value[:event_id]}" + else + puts "-> event ID: #{evt.value.id}" + end else puts "" puts "An error occurred while attempting to send the event."