Sha256: 504251d037fa1a304d99b9cf675bc53084d9dcc13d0547bb29f5bd453a5f316f

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

#!/usr/bin/ruby
# encoding: utf-8

begin
  load 'six-updater-web/init.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 5
  Process.exit(1) # Return error-1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
six-updater-web-0.15.4 bin/six-updater-web
six-updater-web-0.15.3 bin/six-updater-web
six-updater-web-0.15.2 bin/six-updater-web
six-updater-web-0.15.1 bin/six-updater-web
six-updater-web-0.14.12 bin/six-updater-web