update salaam, catch errors on tick
otherwise those errors were silently ignored, i guess because they were on a ui thread
This commit is contained in:
@ -35,7 +35,7 @@ class ObjectView < ListView
|
||||
variable = at.to_s
|
||||
f = object.internal_object_get(at)
|
||||
end
|
||||
puts "got var name #{variable}#{variable.class} for #{at}, #{f}"
|
||||
#puts "got var name #{variable}#{variable.class} for #{at}, #{f}"
|
||||
view = RefView.new( variable , f.object_id , @z )
|
||||
if( @children[at] )
|
||||
replace_at(at , view)
|
||||
|
@ -22,7 +22,11 @@ class StatusView < ElementView
|
||||
end
|
||||
|
||||
def update
|
||||
@interpreter.tick
|
||||
begin
|
||||
@interpreter.tick
|
||||
rescue => e
|
||||
puts e
|
||||
end
|
||||
@element.at_css(".clock").text = clock_text
|
||||
@element.at_css(".link").text = link_text
|
||||
@element.at_css(".state").text = state_text
|
||||
|
Reference in New Issue
Block a user