Yup. The SDK (should) ensure that. Right now this is always printing "[Object]" because of nesting an error inside another.