#6719 closed (fixed)
syncdb: Better error message if installing custom sql failed
Reported by: | Thomas Güttler | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This is a small patch to improve the output if installing custom sql failed.
If verbosity>=2 the traceback gets display. Maybe this should even be if verbosity>=1.
If verbosity>=2 a message 'No custom sql for ...' get displayed.
A newline at the end of "Failed to install custom SQL for %s.%s model: %s" was missing, too.
Attachments (1)
Change History (6)
comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
by , 17 years ago
Attachment: | syncdb_better_error_messages.diff added |
---|
Uses option '--traceback' now.
comment:3 by , 16 years ago
Needs documentation: | set |
---|---|
Patch needs improvement: | unset |
Triage Stage: | Design decision needed → Ready for checkin |
Needs documentation of the new option, but that isn't much effort, so I'm promoting to ready for checkin.
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 16 years ago
Cc: | removed |
---|
Note:
See TracTickets
for help on using tickets.
A better approach would be to make this work with the
--traceback
added some time back. That would be consistent with other things which suppress tracebacks (like fixture loading).