better error reporting for MSG_OPENDSM command