rescue StandardError # 加载脚本数据结构 scripts = load_data("Data/Scripts.rxdata") # 显示出错详细信息 t = $!.backtrace.collect do |s| s.sub(/^Section([0-9]+)/) {"#<#{scripts[$1.to_i][1]}>"} end print [$!.class, "-" * 80, $!.message, "-" * 80, t].flatten.join("\n")
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |