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

Trace error from user defined controller #339

Merged
merged 2 commits into from
May 10, 2023
Merged

Trace error from user defined controller #339

merged 2 commits into from
May 10, 2023

Conversation

samchon
Copy link
Owner

@samchon samchon commented May 10, 2023

There're some people that directly running script in controller files. In that case, when runs npx nestia sdk command, SDK generation would be halted without detailed error tracing (only Error.message would be shown).

Therefore, enhance @nestia/sdk to trace error from user defined controller, and report it detaily.

There're some people that directly running script in controller files. In that case, when runs `npx nestia sdk` command, SDK generation would be halted without detailed error tracing (only `Error.message` would be shown).

Therefore, enhance `@nestia/sdk` to trace error from user defined controller, and report it detaily.
@samchon samchon added the enhancement New feature or request label May 10, 2023
@samchon samchon self-assigned this May 10, 2023
`@nestia/sdk` has started reporting SDK or Swagger generation progress, but when there's an empty controller that has not any route method, `@nestia/sdk` being halted.

Empty controller is not a normal case, but need to take it.
@samchon samchon merged commit 78cb753 into master May 10, 2023
@samchon samchon deleted the features/reflect branch May 10, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant