Skip to content

Commit 3e1b5ca

Browse files
authored
Print failure to load customer code to stderr (#1412)
1 parent bc21990 commit 3e1b5ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/firebase-functions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ if (process.env.FUNCTIONS_CONTROL_API === "true") {
6767
res.setHeader("content-type", "text/yaml");
6868
res.send(JSON.stringify(stackToWire(stack)));
6969
} catch (e) {
70+
console.error(e);
7071
res.status(400).send(`Failed to generate manifest from function source: ${e}`);
7172
}
7273
});

0 commit comments

Comments
 (0)