Updated code for online error callback.