[#1963] datastore log/info page fix.

Check that error.response exists in the template before using it.