                 includingPropertiesForKeys: nil,
                 options:NSDirectoryEnumerationOptions.SkipsHiddenFiles)
         }
-        catch {
+        catch let error {
+            Logger.error("Failed getting files in \(folderName): \(error)")
             return nil
         }
     }

/// Responsible for enumerating folders to collect files, as well as providing the files for displaying
class MediaList
{
    private let BytesForSignature = 8 * 1024

    private let slideshowData: SlideshowData
    private var mediaList:[MediaData] = []

                    output.appendFormat("%02x", byte)
                }
                return output as String            }
        } catch let error {
            Logger.error("Failed getting signature for \(filename): \(error)")
            return nil
        }

