Closed cblp closed 4 months ago
At least, print SomeException to stdout when verbose
is on.
Could you share a minimal repro (or even better, a PR with a test case)?
On Fri, 9 Feb 2024 at 16:17, Yuriy Syrovetskiy @.***> wrote:
At least, print SomeException to stdout when verbose is on.
— Reply to this email directly, view it on GitHub https://github.com/scotty-web/scotty/issues/372#issuecomment-1936111490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBDKCN6BVC6BE6OVIBQH3YSY4WZAVCNFSM6AAAAABDBUA6ZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGEYTCNBZGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@cblp I agree we could be logging and not dropping information in handlers (PRs welcome!)
I don't agree with the assessment re. unhandledExceptionHandler because there are effects outside ActionT as well.
@ocramz see #373. It's not exactly what I mean, but related. I don't know how to test existence/absence of putStr
.
@cblp good point about verbose
too. Currently, verbose
does nothing useful apart from toggling the initial banner and should definitely be improved.
@cblp good point about
verbose
too. Currently,verbose
does nothing useful apart from toggling the initial banner and should definitely be improved.
See #374
closed by #374
When any unknown exception happens, someExceptionHandler catches it and drops all information.
So I don't know how to put it in log to investigate. If it's possible please tell how.
Also, unhandledExceptionHandler has no sense because
scottyExceptionHandler
already caught allScottyException
s.