diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-16 16:43:23 -0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-01-17 14:37:59 +0000 |
commit | 13c80832b8fe88c7ce1831253258873eee8f00be (patch) | |
tree | 60af3c82fee41fa628fc81aef93bdfdc1b336bfd | |
parent | 9aa97f77356d3bed735a721b8188a363f12b8291 (diff) |
get_class in log
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-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 ); - } } |