Revision 5afa4a61
Added by Marc Dequènes almost 14 years ago
- ID 5afa4a61e77c2f9c2a7bd9664027669d3fd072ce
lib/cyborghood/cyborg/botnet/interface.rb | ||
---|---|---|
begin
|
||
@blocks << File.read(file)
|
||
rescue
|
||
logger.error "Interface: definition file '#{file}' cannot be read"
|
||
logger.error "Interface: definition file '#{file}' cannot be read: " + $!.message
|
||
end
|
||
end
|
||
rescue
|
||
logger.error "Interface: directory '#{self.lpath}' cannot be read"
|
||
logger.error "Interface: directory '#{self.lpath}' cannot be read: " + $!.message
|
||
end
|
||
|
||
@ldir_loaded = true
|
Also available in: Unified diff
[debug] more precise messages