liftsecurity/burpbuddy — pull request #14 by evilpacket (2014-10-20 18:52:02+00:00)
Title: Check error first so we don't assume we have resp

In certain error situations it would blow up because resp.statusCode can not be accessed because resp is undefined. Check err first before proceeding.