Method: Tengine::Core::Config::Atd#load_file

Defined in:
lib/tengine/core/config/atd.rb

#load_file(filepath) ⇒ Object



65
66
67
68
69
70
71
72
73
# File 'lib/tengine/core/config/atd.rb', line 65

def load_file(filepath)
  super
rescue Exception => e
  msg = e.message
  unless msg.include?(filepath)
    msg = "#{msg} in #{filepath}"
  end
  raise Tengine::Core::ConfigError, msg
end