FIx crash on no error.

Handle case where no error is thrown but there is an error.

Log verbose URI info on error.