You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/08/07 00:17:47 UTC

[jira] [Created] (TS-2106) Normalize TSError messages in plugins (and examples)

Igor Galić created TS-2106:
------------------------------

             Summary: Normalize TSError messages in plugins (and examples)
                 Key: TS-2106
                 URL: https://issues.apache.org/jira/browse/TS-2106
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Igor Galić


right now many of plugins send error messages without prefixing the plugin they come from, this bad practice is also continued in our examples.

many error messages also close with {{\n}}, although this is not necessary.

We should fix this by "normalizing" the way we send those error messages.

Our proposal is:

{code}
TSError("%s: cannot parse file %s", PLUGIN_NAME, filename);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira