Opened 8 years ago
Last modified 8 years ago
#12555 closed defect
TracError: No filespec given — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.13 |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | imagemacro |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
We should return a system_message
and log the error rather than raising an exception:
[pid 12594 140268838594304] 2016-08-06 23:07:23,402 Trac[formatter] ERROR: Macro Image(attachment:appveyor-kb-logo.png:wiki:TracDev/AutomaticBuilds) failed: Traceback (most recent call last): File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 802, in _macro_formatter return macro.ensure_inline(macro.process(args)) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 379, in process text = self.processor(text) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 351, in _macro_processor text) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/wiki/macros.py", line 677, in expand_macro raise TracError(_("No filespec given")) TracError: No filespec given
Note:
See TracTickets
for help on using tickets.