[PATCHES] samba-tool: Don't print python stack traces in log level 0
Jelmer Vernooij
jelmer at samba.org
Fri Nov 9 06:05:08 MST 2012
Hi Metze,
On Fri, 2012-11-09 at 09:20 +0100, Stefan (metze) Metzmacher wrote:
> Hi Karolin,
>
> here're the patches we've discussed and tested yesterday...
-1, The behaviour here is intentional - the backtrace is only printed on
unexpected exceptions, and printed so that it is easier for users to
communicate with us about them.
If there is an expected exception, please catch it and raise
CommandError("Some one line message that makes sense to the user.",
original_exception).
Cheers,
Jelmer
More information about the samba-technical
mailing list