Not working on Firefox
Hi, Firefox has an option to activate server logging using this protocol. It is not working because in:
def _log(args):
global backtraces
type = args[0:1]
....
type it is assigning a array (slice returns an array) and somehow the firefox was throwing an error about not getting type method. I've changed to:
def _log(args):
global backtraces
type = args[0:1][0]
....
Seems to work in chrome and in the firefox implementation. Does it makes sense to you? Do you think it's a bug in firefox implementation?
Thanks!.
PD: I'm testing in django project and linux.
I think it's a bug in this module as the example in the technical specification has the level as scalar value and not in an array. Putting something that's always a single value into an array doesn't make much sense anyway.
Couldn't get module to work with Firefox/Falcon/Gunicorn, found this thread and have to thank @jorrete as this has fixed our issue too.