I added "print" part to the name this function actually prints something
I decided to exit from the main process (I know, it's bad to do it in a function) because we 1) don't catch these exceptions 2) wrap all constants in config.ts into try is pain
We will refactor this part when we get true services with async init, so please let's keep this workaround.
fixes https://github.com/hastic/hastic-server/issues/899
getConfigField
togetConfigFieldAndPrintOrExit
config.ts
intotry
is painWe will refactor this part when we get true services with async init, so please let's keep this workaround.