Corrected role name
Append error message to log