# HG changeset patch # User Matthew Wild # Date 1536703584 -3600 # Node ID e087dd875160e83f82242244ee1c0dd8b941c4fa # Parent e6df4368029dab253af134f113d62605cadc3fa2 scansion.console: Handle missing filename diff -r e6df4368029d -r e087dd875160 scansion/console.lua --- a/scansion/console.lua Tue Sep 11 21:39:56 2018 +0100 +++ b/scansion/console.lua Tue Sep 11 23:06:24 2018 +0100 @@ -6,7 +6,7 @@ local handlers = { ["script"] = function (data) - return "TEST: "..(data.title or data.filename); + return "TEST: "..(data.title or data.filename or "untitled"); end; ["test-passed"] = function () return "PASS";