mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Changed Username alias from ... to USERNAME.
This commit is contained in:
@@ -61,9 +61,9 @@ def pbPrintException(e)
|
|||||||
errorlog = RTP.getSaveFileName("errorlog.txt")
|
errorlog = RTP.getSaveFileName("errorlog.txt")
|
||||||
end
|
end
|
||||||
File.open(errorlog,"ab") { |f| f.write(premessage); f.write(message) }
|
File.open(errorlog,"ab") { |f| f.write(premessage); f.write(message) }
|
||||||
errorlogline = errorlog.sub(Dir.pwd + "\\", "")
|
errorlogline = errorlog.sub("/", "\\")
|
||||||
errorlogline.sub!(Dir.pwd + "/", "")
|
errorlogline.sub!(Dir.pwd + "\\", "")
|
||||||
errorlogline.sub!(pbGetUserName, "...")
|
errorlogline.sub!(pbGetUserName, "USERNAME")
|
||||||
errorlogline = "\r\n" + errorlogline if errorlogline.length > 20
|
errorlogline = "\r\n" + errorlogline if errorlogline.length > 20
|
||||||
errorlogline.gsub!("/", "\\")
|
errorlogline.gsub!("/", "\\")
|
||||||
print("#{message}\r\nThis exception was logged in #{errorlogline}.\r\nPress Ctrl+C to copy this message to the clipboard.")
|
print("#{message}\r\nThis exception was logged in #{errorlogline}.\r\nPress Ctrl+C to copy this message to the clipboard.")
|
||||||
|
|||||||
Reference in New Issue
Block a user