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

                includingPropertiesForKeys: nil,
                options:NSDirectoryEnumerationOptions.SkipsHiddenFiles)
        }
        catch {
            return nil
        }
    }

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

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