[minor] Adding loaderror event