add external log for fail attempt

This commit is contained in:
O K
2025-12-27 14:08:04 +02:00
parent 196a61bd5d
commit 3e168ea046

View File

@@ -31,7 +31,7 @@ class Zh_UspsLabelsOverride extends Zh_UspsLabels
if ($newRate !== false && $newRate !== null) { if ($newRate !== false && $newRate !== null) {
return $newRate; return $newRate;
} }
$bridge->externalLog(['calculateRate Failed' => ['params' => $params, 'shipping_cost' => $shipping_cost, 'products' => $products, 'this' => $this]]);
$bridge->log("Bridge returned false/null. Falling back to Legacy API."); $bridge->log("Bridge returned false/null. Falling back to Legacy API.");
} }
} }