mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove debug
This commit is contained in:
parent
460ba07e30
commit
fcd52cf149
1 changed files with 0 additions and 2 deletions
|
|
@ -187,7 +187,6 @@ func fetchUtterance(appEnvironment: AppEnvironment,
|
|||
|
||||
if let ssml = try utterance.toSSML(document: document) {
|
||||
request.httpBody = ssml
|
||||
print("FETCHING: ", String(decoding: ssml, as: UTF8.self))
|
||||
}
|
||||
|
||||
for (header, value) in networker.defaultHeaders {
|
||||
|
|
@ -219,7 +218,6 @@ func fetchUtterance(appEnvironment: AppEnvironment,
|
|||
try audioData.write(to: tempPath)
|
||||
try? FileManager.default.removeItem(at: audioPath)
|
||||
try FileManager.default.moveItem(at: tempPath, to: audioPath)
|
||||
print("wrote", audioData.count, "bytes to", audioPath)
|
||||
} catch {
|
||||
let errorMessage = "audioFetch failed. could not write MP3 data to disk"
|
||||
throw BasicError.message(messageText: errorMessage)
|
||||
|
|
|
|||
Loading…
Reference in a new issue