diff --git a/lib/package.js b/lib/package.js index 11efba9..3bdaf1b 100644 --- a/lib/package.js +++ b/lib/package.js @@ -73,7 +73,11 @@ module.exports = { return "Delivered." } } catch(e) { - return "Delivery date unavailable
" + e.message; + try { + return package.lastResponse.Shipment.ScheduledDeliveryDate; + } catch(e) { + return "Delivery date unavailable
" + e.message; + } } break; case "fedex":