Sha256: 6f124646c9ca9784a51b5c5b696033ec46bedabaed5b413b362142be1bf32290
Contents?: true
Size: 469 Bytes
Versions: 9
Compression:
Stored size: 469 Bytes
Contents
#!/usr/bin/ruby # encoding: utf-8 require 'rake' begin load '_rake.rb' rescue => e puts e.class, e.message, e.backtrace.join("\n") begin require 'fileutils' path = File.join(SixUpdaterWeb::DATA_PATH, 'logs') FileUtils.mkdir_p path unless File.exists?(path) File.open(File.join(path, "six-updater-web-error.log"), 'w') {|f| f.puts e.class, e.message, e.backtrace.join("\n")} rescue puts "ERROR: #{$!}" end sleep 10 end
Version data entries
9 entries across 9 versions & 1 rubygems