Skip to content

Commit 07bfa4e

Browse files
committed
review changes
1 parent 62fdde9 commit 07bfa4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cli/lib/emulation/docker.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var net = require('net');
1+
const net = require('net');
22
const chalk = require('chalk');
33
const childProcess = require('child_process');
44
const { localConfig } = require("../config");
@@ -172,7 +172,7 @@ async function dockerStart(func, variables, port) {
172172
try {
173173
await waitUntilPortOpen(port);
174174
} catch(err) {
175-
error("Function does not appear to be started: " + err.message ? err.message : err.toString());
175+
error("Failed to start function with error: " + err.message ? err.message : err.toString());
176176
return;
177177
}
178178

0 commit comments

Comments
 (0)