Sending error page for 502 responses
Merge pull request #120 from avoidwork/edge

Minor fix