diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-17 14:54:49 -0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 14:54:49 -0100 |
commit | b5bbbd99ce1de1dadedcc02c1e1b2a91440ad5ea (patch) | |
tree | 60af3c82fee41fa628fc81aef93bdfdc1b336bfd | |
parent | 9aa97f77356d3bed735a721b8188a363f12b8291 (diff) | |
parent | 13c80832b8fe88c7ce1831253258873eee8f00be (diff) |
Merge pull request #345 from nextcloud/backport/342/alpha1
[alpha1] Provide more details in logs on fail to async
-rw-r--r-- | lib/Service/CurlService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index 1c1e1ba1..63ed8487 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -238,9 +238,9 @@ class CurlService { $this->request($request); } catch (Exception $e) { $this->miscService->log( - 'Cannot initiate AsyncWithToken ' . json_encode($token) . ' ' . json_encode($e), 1 + 'Cannot initiate AsyncWithToken ' . json_encode($token) . ' (' . get_class($e) + . ' - ' . json_encode($e) . ')', 1 ); - } } |