-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error handling to avoid exiting the dev-server, if error occurs. #16
Comments
I think this issue is solved correct? |
It is only solved for the error when variable is undefined, Are there any other errors that can occur while working with Abell? |
If i try something like this, the web server throws an error, but the console shows nothing {{
const abc = require('./abac.json');
}}
{{ abc }} Here there is no such file as abac.json |
Here the serve link is invalid can you change that? |
Fixed! Thanks |
Oh yes we need to show proper error here |
Fixed in Abell v0.4 |
Currently, if you're working in dev-server and an error occurs, let's say you write a variable that is undefined, In this case the dev-server is closed after throwing the error.
How to reproduce
abell serve
after setting up this repo locally.demo/index.abell
, write a variable that is not defined anywhere.How it should work
Code help
serve
function handles the dev-server, if we add try-catch for error handling there, it should avoid exiting the server I believe.The text was updated successfully, but these errors were encountered: