File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Sources/FSAppConfiguration Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ public struct FSAppConfiguration {
197197 self . app. logger. error ( " ERROR: Failed decode ClientResponse from consul. LocalizedError - \( error. localizedDescription) , error - \( error) . For path - ' \( path) ' " )
198198 }
199199 guard let stringValue = content. first? . value else {
200- self . app. logger. error ( " ERROR: No value was found at the given key - ' \( String ( describing : content . first ? . key ) ) ' " )
201- fatalError ( " ERROR: No value was found at the given key - ' \( String ( describing : content . first ? . key ) ) ' " )
200+ self . app. logger. error ( " ERROR: No value was found at the - ' \( path ) ' " )
201+ fatalError ( " ERROR: No value was found at the - ' \( path ) ' " )
202202 }
203203 guard let arrayOfRawBytes = Array ( decodingBase64: stringValue) else {
204204 self . app. logger. error ( " ERROR: Failed encoded ' \( stringValue) ' to 'Data' " )
Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ public struct FSAppConfigurationAsync {
197197 self . app. logger. error ( " ERROR: Failed decode ClientResponse from consul. LocalizedError - \( error. localizedDescription) , error - \( error) . For path - ' \( path) ' " )
198198 }
199199 guard let stringValue = content. first? . value else {
200- self . app. logger. error ( " ERROR: No value was found at the given key - ' \( String ( describing : content . first ? . key ) ) ' " )
201- fatalError ( " ERROR: No value was found at the given key - ' \( String ( describing : content . first ? . key ) ) ' " )
200+ self . app. logger. error ( " ERROR: No value was found at the - ' \( path ) ' " )
201+ fatalError ( " ERROR: No value was found at the - ' \( path ) ' " )
202202 }
203203 guard let arrayOfRawBytes = Array ( decodingBase64: stringValue) else {
204204 self . app. logger. error ( " ERROR: Failed encoded ' \( stringValue) ' to 'Data' " )
You can’t perform that action at this time.
0 commit comments