From 41e10dfce5160fa7483afabb7115cebf8961394b Mon Sep 17 00:00:00 2001 From: soulgalore Date: Fri, 27 May 2022 14:12:14 +0200 Subject: [PATCH] docs: exit code > 0 when you create an error --- docs/documentation/sitespeed.io/scripting/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/sitespeed.io/scripting/index.md b/docs/documentation/sitespeed.io/scripting/index.md index 7892c36d6..3ea5fcae1 100644 --- a/docs/documentation/sitespeed.io/scripting/index.md +++ b/docs/documentation/sitespeed.io/scripting/index.md @@ -597,7 +597,7 @@ module.exports = async function(context, commands) { }; ~~~ -You can also create your own errors. The error will be reported in the HTML and sent to Graphite/InfluxDB. +You can also create your own errors. The error will be reported in the HTML and sent to Graphite/InfluxDB. If you report an error, the exit code from sitespeed.io will be > 0. ~~~javascript module.exports = async function(context, commands) {