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

Explain how to get the server console log if you don't see the terminal #21

Open
dandv opened this issue Nov 7, 2012 · 2 comments
Open

Comments

@dandv
Copy link
Member

dandv commented Nov 7, 2012

At https://github.com/oortcloud/unofficial-meteor-faq/blob/master/README.md#uncaught-syntaxerror-unexpected-token-y, if you've launched the server with nohup, and the terminal connection was lost how do you tap into its console output?

A lame alternative is to set a breakpoint in the browser where the error is generated, and reproduce it.

Might this be worth raising an issue with meteor, to check for the JSON response text starting with "Your application is crashing" in case JSON.parse failed?

@tmeasday
Copy link
Member

tmeasday commented Nov 8, 2012

I would have thought if you are launching the server with nohup you should be writing the to a log file somewhere (he says but he doesn't actually do it himself).

@dandv
Copy link
Member Author

dandv commented Nov 8, 2012

Actually, nohup thankfully creates a nohup.out by default. But I'm more and more tempted to PR a try/catch around that line in meteor code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants