magento2 – exception does not work

I have an observer for sales_order_save_before

_veratadCall = $ veratadCall;
$ this -> _ isExclosed = $ isExclosed;
$ this-> customerSession = $ customerSession;
$ this-> scopeConfig = $ scopeConfig;
}

execute public function ( Magento  Framework  Event  Observer $ observer) {

/ *
$ order = $ observer-> getEvent () -> getOrder ();
$ customer = $ this-> customerSession-> getData ();
$ billing = $ order-> getBillingAddress () -> getData ();
$ shipping = $ order-> getShippingAddress () -> getData ();
$ fail_text = $ this-> scopeConfig-> getValue (& # 39; settings / content / agematch_fail & # 39 ;,  Magento  Store  Model  ScopeInterface :: SCOPE_STORE);

$ writer = new  Zend  Log  Writer  Stream (BP. & # 39; /var/log/excluded.log');
$ logger = new  Zend  Log  Logger ();
$ logger-> addWriter ($ writer);
// Check if the customer is excluded

$ excluded = $ this -> _ isExclosed-> isExclosed ($ customer);
$ logger-> info ($ excluded);

if (! $ excluded) {
$ billing_verified = $ this -> _ veratadCall-> veratadCaller ($ billing);
$ logger-> info (& # 39; billing_verified & # 39;. $ billing_verified);
if (! $ billing_verified) {
$ logger-> info ("Billing not verified");
}
}
* /



raise new  Magento  Framework  Exception  CouldNotSaveException (__ (& # 39; You can not place an order because you have not been verified. & # 39;));




// $ shipping_verified = $ this -> _ veratadCall-> veratadCaller ($ shipping);

// Set invoices or both

// check experiments

//check


}
}

The custom message indicates when the user is logged in, but outputs the generic message if it is a guest. Does anyone know why this happens?