MDL-47140 editor_atto: Improved error handling