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

Configurable custom runtime #13

Open
Vadorequest opened this issue Apr 13, 2019 · 1 comment
Open

Configurable custom runtime #13

Vadorequest opened this issue Apr 13, 2019 · 1 comment

Comments

@Vadorequest
Copy link

I wonder what would be the recommended approach to make a custom runtime configurable.

I'm thinking about logging low level exceptions, like the ones only the layer can catch, and I'm wondering about how to configure that low-level logging.

More specifically, I'm interested by adding either Sentry or https://epsagon.com/, and both rely on some configuration, like app name, tokens, etc.

So, I wonder what would be the best way of loading this config, I'm thinking ENV variables are probably the way to go, but I'm not sure and I wonder how you'd implement it, if you wanted to do something similar?

@hugosenari
Copy link

hugosenari commented Oct 11, 2019

Maybe we could change bootstrap.c to start node with BOOTSTRAP_JS_FILE_PATH || /opt/bootstrap.js, and let user implement bootstrap.js

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