mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -7,7 +7,7 @@ module PBDebug
|
||||
rescue
|
||||
PBDebug.log("")
|
||||
PBDebug.log("**Exception: #{$!.message}")
|
||||
PBDebug.log("#{$!.backtrace.inspect}")
|
||||
PBDebug.log($!.backtrace.inspect.to_s)
|
||||
PBDebug.log("")
|
||||
pbPrintException($!) # if $INTERNAL
|
||||
PBDebug.flush
|
||||
|
||||
@@ -37,7 +37,7 @@ def pbPrintException(e)
|
||||
message += "Exception: #{e.class}\r\n"
|
||||
message += "Message: "
|
||||
end
|
||||
message += "#{emessage}"
|
||||
message += emessage
|
||||
# show last 10/25 lines of backtrace
|
||||
if !e.is_a?(EventScriptError)
|
||||
message += "\r\n\r\nBacktrace:\r\n"
|
||||
|
||||
Reference in New Issue
Block a user