diff --git a/lib/application.js b/lib/application.js index 58b76cef..92bf7200 100644 --- a/lib/application.js +++ b/lib/application.js @@ -423,7 +423,7 @@ function dataSourcesFromConfig(name, config, connectorRegistry, registry) { config.connector = require(connectorPath); } } - if (!config.connector.name) + if (config.connector && typeof config.connector === 'object' && !config.connector.name) config.connector.name = name; }