Opened 11 years ago
Last modified 11 years ago
#22616 closed Uncategorized
CommandError exception no prints message - instead always is "django.core.management.base.CommandError" — at Initial Version
| Reported by: | Cezary.Wagner | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.6 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Example on useless message for makemessages.py
if errors:
if status != STATUS_OK:
raise CommandError(
"errors happened while running msgmerge\n%s" % errors)
This always gives:
django.core.management.base.CommandError
Should:
"errors happened while running msgmerge\n%s" % errors
Note:
See TracTickets
for help on using tickets.