Use less error output
|Reported by:||patroqueeet||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.4|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
after upgrading from 1.2.7 to 1.3.1 I ran into error messages like "cannot import name XY". I had to use the PDB lib and heavy debugging to find out why. It should print the error source.
I found out:
import traceback sys.stderr.write("%s" % traceback.print_tb(sys.exc_info()))
helped a lot to tell me about the errors source.