better catching omero.CmdError