mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-10 04:09:39 +00:00
Shorten timeout and error message for remaining providers
This commit is contained in:
parent
26f949b9ba
commit
c6dabd2620
5 changed files with 12 additions and 12 deletions
|
|
@ -28,7 +28,7 @@ const htmlSanitizer = require('../utils/htmlSanitizer')
|
|||
*/
|
||||
|
||||
class iTunes {
|
||||
#responseTimeout = 30000
|
||||
#responseTimeout = 10000
|
||||
|
||||
constructor() {}
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ class iTunes {
|
|||
return response.data.results || []
|
||||
})
|
||||
.catch((error) => {
|
||||
Logger.error(`[iTunes] search request error`, error)
|
||||
Logger.error(`[iTunes] search request error`, error.message)
|
||||
return []
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue