Change record status: 
Project: 
Introduced in branch: 
9.1.x
Introduced in version: 
9.1.0
Description: 

When the $settings['config_sync_directory'] from the setting.php file points to a directory that does not exists, the exception \Drupal\Core\Config\ConfigDirectoryNotDefinedException will be thrown. Before this change a regular \Exception was being thrown.

Impacts: 
Site builders, administrators, editors
Module developers