How to write stackrack errors in a separate file in ruby?
I use RubyMine
begin 1/0 rescue => e File.open "backtrace.txt", "w" do |f| f.puts e.backtrace end end
Source: https://ru.stackoverflow.com/questions/926175/More articles:Getting the coordinates of the object in GodotAdd parameters to the chilkat link addressWhen you first start the combobox does not apply a font to the labelHow to put text into qTextBrowser?could not initialize proxy - no Session (through reference chain: com.statistic.server.entity.Report $ HibernateProxy $ kjlzJLtW [“date”]Prompt by publishing an ASP.NET Core applicationHow to loop loop columns Bootstrap?Fullscreen mode in Chrome AndroidHigh CPU load during program executionqiwi api python errorAll Articles