Issue 3834 error logging not happening properly in content resource save