Skip to content
Browse files

better output less confusing/hidden

  • Loading branch information...
1 parent c440692 commit 0fb719c049bc356f2a2f62b25f1a303bd35712a9 @rdp committed Dec 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/simple_gui_creator/parse_template.rb
View
4 lib/simple_gui_creator/parse_template.rb
@@ -94,8 +94,8 @@ def parse_setup_string string
size_x = @window_max_x + 25
size_y = @current_y + 45 # 40, but why when the init was 10? huh?
@frame.set_size size_x, size_y
- rescue
- puts "Parsing failed on line #{line.inspect} number: #{idx+1}!"
+ rescue => e
+ puts "Parsing failed on line number: #{idx+1} #{e}\n line was: #{line.inspect}!"
raise
end
}

0 comments on commit 0fb719c

Please sign in to comment.
Something went wrong with that request. Please try again.