Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function builds fail silently #606

Closed
erquhart opened this issue Nov 7, 2019 · 1 comment
Closed

Function builds fail silently #606

erquhart opened this issue Nov 7, 2019 · 1 comment
Labels
area: functions type: bug code to address defects in shipped code

Comments

@erquhart
Copy link
Contributor

erquhart commented Nov 7, 2019

- Do you want to request a feature or report a bug?
sort of both, I'd call it a bug

- What is the current behavior?
When running Netlify Dev, Netlify Lambda is watching and rebuilding my functions on the fly. If I break a function build, the only way to tell is that the console doesn't log the "changes detected, rebuilding" line from Lambda.

If I don't notice this, everything will still work because the last successful function build will continue to be used until I delete built files. This means I can spend a fair amount of time refactoring a function, not realizing it broke a while ago.

- If the current behavior is a bug, please provide the steps to reproduce.
Using Netlify Lambda, write a broken function that will produce a failed build while Netlify Dev is running.

- What is the expected behavior?
The full error message and stack trace from Netlify Lambda should be allowed to print to console.

- Local Environment Information
Using cli 2.20.2

  System:
    OS: macOS 10.15
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 12.13.0 - ~/.nvm/versions/node/v12.13.0/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.12.0 - ~/.nvm/versions/node/v12.13.0/bin/npm
  Browsers:
    Chrome: 78.0.3904.87
    Safari: 13.0.2
@erezrokah erezrokah added type: bug code to address defects in shipped code area: functions labels Aug 20, 2020
@erezrokah
Copy link
Contributor

This was fixed in #988 and requires latest netlify-lambda due to netlify/netlify-lambda#239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: functions type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants