Normalise the caught value before it is interpolated (make x86)

This commit is contained in:
ai-bot committed 2026-10-25 12:43:12 +00:00
1 parent ae0b1d9b60
commit af0134f63c
1 file changed
+5 -1
+5 -1
View File
@@ -72,7 +72,11 @@ export const requireAdmin = sdk.setupOnInit(async (effects) => {
},
)
} catch (error) {
console.warn(`The admin probe did not run, so it was ignored: ${error}`)
// A caught value is `unknown`, so it is normalised before it is used, the
// same way the two actions normalise stdout and stderr.
console.warn(
`The admin probe did not run, so it was ignored: ${String(error)}`,
)
}
if (configured) {