Add debug logging for unknown error
This commit is contained in:
@@ -163,6 +163,11 @@ class Immich {
|
||||
}
|
||||
// Otherwise return failure
|
||||
log('Immich response ' + res.status + ' for key ' + key)
|
||||
try {
|
||||
console.log((await res.text()).slice(0, 500))
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
return {
|
||||
valid: false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user