do not print error on ctrl+c during prompts

This commit is contained in:
Dax Raad
2025-06-24 22:09:43 -04:00
parent 81b7df61ec
commit 0fc8dfc77e
2 changed files with 4 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ try {
Log.Default.error("fatal", data)
const formatted = FormatError(e)
if (formatted) UI.error(formatted)
if (!formatted)
if (formatted === undefined)
UI.error(
"Unexpected error, check log file at " + Log.file() + " for more details",
)