Fix possible error in production

Ghost User
2016-10-05T19:32:56+02:00

I was trying the error pages in production and it seems the 'request' key may sometimes be missing. So I suggest we use `get` as a safer way of getting the request.