From 483f937dfe876ea803b6a55e18a5db819c268986 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:11:25 -0500 Subject: [PATCH] Adds some new github actions errrors for clarity (#27426) * lets test * oops * im stupid * oops again * and this * oops * try again --- code/modules/error_handler/error_handler.dm | 3 +++ tgui/bin/tgui_.ps1 | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/error_handler/error_handler.dm b/code/modules/error_handler/error_handler.dm index 475610825f3..f77ccd5a487 100644 --- a/code/modules/error_handler/error_handler.dm +++ b/code/modules/error_handler/error_handler.dm @@ -136,6 +136,9 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0) for(var/line in desclines) log_world(line) log_runtime_txt(line) +#ifdef CIBUILDING + log_world("::error file=[e.file],line=[e.line],title=Runtime::[e]") +#endif if(GLOB.error_cache) GLOB.error_cache.logError(e, desclines, e_src = e_src) #endif diff --git a/tgui/bin/tgui_.ps1 b/tgui/bin/tgui_.ps1 index 87b919b1d6a..c023b5e8fd6 100644 --- a/tgui/bin/tgui_.ps1 +++ b/tgui/bin/tgui_.ps1 @@ -97,8 +97,7 @@ function task-clean { function task-validate-build { $diff = git diff --text public/* if ($diff) { - Write-Output "Error: our build differs from the build committed into git." - Write-Output "Please rebuild tgui." + Write-Output "::error file=tgui/public/tgui.bundle.js,title=Rebuild tgui bundle::Our build differs from the build committed into git." exit 1 } Write-Output "tgui: build is ok"