Handling ConfigError in Layer.launch with Express integration
Hey everyone, I'm trying to understand how I can do some fatal error if a layer has an error, let me explain, I've taken the example from the documentation about Express integration and I end with this code (some part is not shown because not relevant imho):
The problem I have is that in the last line I use Layer.launch with the Layer, which may fail with ConfigError but nothing happens, if I run it with TS node it just exit, I would expect to have an error shown, how could i achieve this ? Thanks
The problem I have is that in the last line I use Layer.launch with the Layer, which may fail with ConfigError but nothing happens, if I run it with TS node it just exit, I would expect to have an error shown, how could i achieve this ? Thanks
