diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 9b26ade..feba30c 100755 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -18,6 +18,7 @@ public func configure(_ app: Application) throws { .map { $0.trimmingCharacters(in: .whitespaces) } .filter { !$0.isEmpty } guard configData.count >= 2 else { + print("Invalid configuration file: \(configData.count) lines") throw CapError.invalidConfiguration } let logFile = URL(fileURLWithPath: configData[0])