foobarlab / UpStage-Video-Hack

UpStage Streaming Hack
http://www.foobarlab.net/
GNU General Public License v2.0
5 stars 1 forks source link

server.py: error in sys.exc_info() evaluation #28

Open foobarlab opened 11 years ago

foobarlab commented 11 years ago

See: https://github.com/foobarlab/UpStage/blob/master/server/src/upstage/server.py#L249

log.msg("Unexpected error: %s : %s" %(sys.exc_info()[0], sys.exc_value)) 

The last parameter sys.exc_value is an error (does not exist). Instead it should be set according to http://docs.python.org/2/library/sys.html#sys.exc_info (pay attention to the warning box!).