Skip to content

Commit

Permalink
Fix incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Apr 20, 2020
1 parent 32c6ccc commit c726c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RswiftCore/ResourceTypes/LocalizableStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct LocalizableStrings : WhiteListedExtensionsResourceType {

// Check to make sure url can be parsed as a dictionary
guard let nsDictionary = NSDictionary(contentsOf: url) else {
throw ResourceParsingError.parsingFailed("Filename and/or extension could not be parsed from URL: \(url.absoluteString)")
throw ResourceParsingError.parsingFailed("File could not be parsed as a strings file: \(url.absoluteString)")
}

// Parse dicts from NSDictionary
Expand Down

0 comments on commit c726c82

Please sign in to comment.