emit error when not registered task is called