Comments (3)
Hello there mhvelplund 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀
from tsoa.
I feel like an idiot. After wasting 2+ hours of my weekend on this and creating this issue, I found a ugly workaround and moved on. A little later I ran the linter and found the reason for the previous problem. The root exception originated in an unawaited async method.
Would it be possible to add a note to the starter guide saying that exceptions in unhandled promises escape the error handler and crash Express?
(obviously this issue can be closed)
from tsoa.
This is one of the major caveats of express (unability to properly deal with async/await).
The docs repo is here if you want to add a small note to the guide:
https://github.com/tsoa-community/docs
from tsoa.
Related Issues (20)
- Endpoint to support multiple api versions HOT 3
- Extended interface doesn't produce an `allOf` type HOT 6
- Decorators not working. swagger json contains empty fields HOT 2
- Mock security decorator for testing purpose with Jest HOT 2
- Upload multiple files with different field names HOT 5
- Complicated error response when validating payload that is of a type that is a union of many types HOT 2
- Add posibility to get a property from the Request - @Request("username") Decorator HOT 1
- Errors are logging PII HOT 3
- @Queries Can't support 'refObject' type HOT 4
- ValidateError does not produce valid swagger.json HOT 3
- Problem with swagger generation, when using generic value in nested generic
- OpenTelemetry for distributed tracing with TSOA HOT 4
- Errors thrown in custom middleware do not get passed to error handler HOT 2
- Not Possible to chain multiple middlewares with @Middlewares decorator HOT 2
- await or return missing on promiseHandler in express.hbs template HOT 2
- Key of schema with `$` are generated, but `$` is invalid character. HOT 4
- Custom templates Handlebars HOT 3
- [resolved but might be handles better?] Generic controller's methods HOT 3
- MIME based responses in OpenAPI/Swagger HOT 2
- Question: arguments-aware authorization possible? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsoa.