Add missing cb to error handler