Handle refresh errors directly in the "refresh:end" event callback
Bugfix: avoid storing an empty option when no option is registered at all