lib/openwfe/utils.rb in openwferu-0.9.10.653 vs lib/openwfe/utils.rb in openwferu-0.9.11

- old
+ new

@@ -230,14 +230,14 @@ # # Attempts at displaying a nice stack trace # def OpenWFE.exception_to_s (exception) - s = "" + s = "exception : " s << "#{exception}\n" s << exception.backtrace.join("\n") - return s + s end # # Pretty printing a caller() array # @@ -245,10 +245,10 @@ s = "" caller(start_index + 1).each_with_index do |line, index| break if max_lines and index >= max_lines s << " #{line}\n" end - return s + s end # # Some code for writing thinks like : #