From 37366935c0699f9e23f5006d8dd520810a3c9394 Mon Sep 17 00:00:00 2001 From: "m.f" <747126+fullmated@users.noreply.github.com> Date: Fri, 25 Oct 2019 02:04:14 +0900 Subject: [PATCH] modify message when the function time out --- bin/run-local-lambda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-local-lambda.js b/bin/run-local-lambda.js index 1b9fa46..907d0ee 100755 --- a/bin/run-local-lambda.js +++ b/bin/run-local-lambda.js @@ -134,7 +134,7 @@ var execute = function(){ setTimeout(function(){ - console.log('The function timed out after ' + settings.timeout + ' seconds'); + console.log('The function timed out after ' + (settings.timeout / 1000).toFixed(2) + ' seconds'); process.exit(); }, settings.timeout);