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

Catching syntax error in embedded ruby code #9

Open
ghost opened this issue Sep 12, 2014 · 1 comment
Open

Catching syntax error in embedded ruby code #9

ghost opened this issue Sep 12, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 12, 2014

In the td-agent.conf file I hade a quote mismatch in my embedded ruby code:

rcvtime ${time.strftime("%Y-%m-%dT%H:%M:%S%:z')}

Everything just silently crashed and failed. Maybe a rescue SyntaxError somewhere in the call tree would catch it.

@sonots
Copy link
Owner

sonots commented Sep 14, 2014

patches welcome! ;-)

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

1 participant