mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
added graphics version to crash dump
This commit is contained in:
parent
bfbbfb164b
commit
f6b0a49904
@ -6,6 +6,8 @@ local comms = require("scada-common.comms")
|
|||||||
local log = require("scada-common.log")
|
local log = require("scada-common.log")
|
||||||
local util = require("scada-common.util")
|
local util = require("scada-common.util")
|
||||||
|
|
||||||
|
local core = require("graphics.core")
|
||||||
|
|
||||||
local crash = {}
|
local crash = {}
|
||||||
|
|
||||||
local app = "unknown"
|
local app = "unknown"
|
||||||
@ -32,6 +34,7 @@ function crash.handler(error)
|
|||||||
log.info(util.c("APPLICATION: ", app))
|
log.info(util.c("APPLICATION: ", app))
|
||||||
log.info(util.c("FIRMWARE VERSION: ", ver))
|
log.info(util.c("FIRMWARE VERSION: ", ver))
|
||||||
log.info(util.c("COMMS VERSION: ", comms.version))
|
log.info(util.c("COMMS VERSION: ", comms.version))
|
||||||
|
log.info(util.c("GRAPHICS VERSION: ", core.version))
|
||||||
log.info("----------------------------------")
|
log.info("----------------------------------")
|
||||||
log.info(debug.traceback("--- begin debug trace ---", 1))
|
log.info(debug.traceback("--- begin debug trace ---", 1))
|
||||||
log.info("--- end debug trace ---")
|
log.info("--- end debug trace ---")
|
||||||
|
Loading…
Reference in New Issue
Block a user