Writing to log of exceptions on requests to site.

There was difficulties to find problems when there was exception on
sites after requests from build script. User saw error message with no
details that could be useful. Now, on web exception script writes
response string and then throws exception.