Parcourir la source

:fire: error body

visuddhinanda il y a 1 an
Parent
commit
93b41b7e65
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      api-v8/app/Console/Commands/UpgradeCompound.php

+ 1 - 1
api-v8/app/Console/Commands/UpgradeCompound.php

@@ -335,7 +335,7 @@ class UpgradeCompound extends Command
                 Log::error('upload fail.' . $response->body());
                 Log::error('upload fail.' . $response->body());
             }
             }
         } catch (GuzzleException $e) {
         } catch (GuzzleException $e) {
-            Log::error('send data failed', ['exception' => $e, 'body' => $e->getResponse()->getBody()->getContents()]);
+            Log::error('send data failed', ['exception' => $e]);
             $httpError = true;
             $httpError = true;
         }
         }