summaryrefslogtreecommitdiff
path: root/lib/tst
blob: 5e9131f52c73013c739cdcb5f8c98b3ba379014a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env ruby20

$: << '.'
require 'pry' if ENV['DEV']
require 'oxidized'

begin
 Oxidized.new
rescue Exception => e
 open Oxidized::Config::Crash, 'w' do |file|
   file.puts '-' * 50
   file.puts Time.now.utc
   file.puts e.message
   file.puts '-' * 50
   file.puts e.backtrace
   file.puts '-' * 50
 end
 raise
end