Warning fix for MSVC.  Adjusted error hadling in MaidNodeService.