add external log for fail attempt
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user