Added UA to error logging