-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
Currently I get the following error in my functions logs occationally:
Error: No default engine was specified and no extension was provided.
Reading about express, it appears that this is caused when calling render without a configured engine.
In logger.ts line 102, there is a call to res.render(...).
functions-framework-nodejs/src/logger.ts
Line 102 in acdfd93
| res.render('error', {error: err}); |
Just dealing with Cloud Functions that can return a result or give an error, leaves me in doubt about where I should configure this engine, and to what, and for what purpose.
Could this error be communicated without the use of render? Or alternatively - could you provide guidance about when, where and why the configuration should happen?
Metadata
Metadata
Assignees
Labels
No labels