[Bro-Dev] [JIRA] (BIT-1328) BroControl displays backtrace for all failed / mistyped commands

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Tue Mar 17 10:43:00 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-1328:
---------------------------
    Resolution: Fixed
        Status: Closed  (was: Open)

Seems like this will be fixed when BIT-1341 is merged, please re-open if that's not the case.

> BroControl displays backtrace for all failed / mistyped commands
> ----------------------------------------------------------------
>
>                 Key: BIT-1328
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1328
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BroControl
>    Affects Versions: git/master
>            Reporter: Johanna Amann
>             Fix For: 2.4
>
>
> BroControl shows a backtrace for failing commands, instead of just an error message.
> Example:
> {code}
> [BroControl] > status sdd
> Traceback (most recent call last):
>   File "/xa/bro/master/lib/broctl/BroControl/brocmd.py", line 49, in cmdloop
>     success = self.onecmd(line)
>   File "/usr/local/lib/python2.7/cmd.py", line 221, in onecmd
>     return func(arg)
>   File "/xa/bro/master/bin/broctl", line 190, in do_status
>     results = self.broctl.status(node_list=args)
>   File "/xa/bro/master/lib/broctl/BroControl/broctl.py", line 36, in wrapper
>     return func(self, *args, **kwargs)
>   File "/xa/bro/master/lib/broctl/BroControl/broctl.py", line 231, in status
>     nodes = self.node_args(node_list)
>   File "/xa/bro/master/lib/broctl/BroControl/broctl.py", line 98, in node_args
>     raise InvalidNodeError("unknown node '%s'" % arg)
> InvalidNodeError: unknown node 'sdd'
> [BroControl] > 
> {code}



--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)


More information about the bro-dev mailing list