errplane 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,7 +48,12 @@ module Errplane
48
48
 
49
49
  def transmit(e)
50
50
  begin
51
- black_box = assemble_black_box_for(e)
51
+ black_box = if e.is_a?(String)
52
+ assemble_black_box_for(Exception.new(e))
53
+ else
54
+ assemble_black_box_for(e)
55
+ end
56
+
52
57
  ::Rails.logger.info("\nTransmitter: #{transmitter.inspect}")
53
58
  ::Rails.logger.info("\nBlack Box: #{black_box.to_json}")
54
59
  ::Rails.logger.info("\nIgnorable Exception? #{ignorable_exception?(e)}")
@@ -1,3 +1,3 @@
1
1
  module Errplane
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errplane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: