@ -26,6 +26,10 @@ class Tracking_EasyPost {
));
}
} catch (Exception $ex) {
if (env("debugmode", false)) {
echo $ex->getMessage();
echo $ex->getTraceAsString();
throw new TrackingException("There was a server problem. This code cannot be tracked right now.");