     @objc open func loadAudioFiles(_ files: [AKAudioFile] ) throws {
         let urls = files.map { $0.url }
         do {
-            try samplerUnit.loadAudioFiles(at: urls)
+            try AKTry {
+                try self.samplerUnit.loadAudioFiles(at: urls)
+            }
         } catch let error as NSError {
             AKLog("Error loading audio files \(urls)")
             throw error

    ///   - noteNumber: MIDI Note Number to stop
    ///   - channel: MIDI Channnel
    ///
    @objc open func stop(noteNumber: MIDINoteNumber = 60, channel: MIDIChannel = 0) {
        samplerUnit.stopNote(noteNumber, onChannel: channel)
    }

}

            throw NSError(domain: NSURLErrorDomain, code: NSFileReadUnknownError, userInfo: nil)
        }
        do {
            try AKTry {
                try self.samplerUnit.loadInstrument(at: url)
            }
        } catch let error as NSError {
            AKLog("Error loading instrument resource \(file)")
            throw error
