Changeset 3692

Show
Ignore:
Timestamp:
06/17/06 00:10:34 (2 years ago)
Author:
hdm
Message:

Logging

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • torment/trunk/ruby/basic.rb

    r3687 r3692  
    2929                @tor = tor 
    3030                @sessions = {} 
     31                 
     32                begin 
     33                        super(tor)       
     34                rescue ::Exception => e 
     35                        log("Caught initialization error: #{e.to_s} - #{$!.backtrace.join(" - ")}") 
     36                end 
     37                 
    3138                log("Successfully initialized the TORMENT ruby interface") 
    3239        end