Created
December 19, 2011 20:55
-
-
Save msabramo/1498819 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| marca@web01:/www/marca/RC_20111215$ svn diff -c 88572 | |
| Index: Chegg.Business/ReturnPrintout.php | |
| =================================================================== | |
| --- Chegg.Business/ReturnPrintout.php (revision 88571) | |
| +++ Chegg.Business/ReturnPrintout.php (revision 88572) | |
| @@ -204,14 +204,17 @@ | |
| $labelImages = $upsLabel->generateLabel(); | |
| if (!is_array($labelImages)) | |
| { | |
| + error_log(__FILE__ . ":" . __LINE__ . " - \$labelImages was not an array; \$labelImages = " . print_r($labelImages, true)); | |
| throw new Exception('Could not generate labels - $labelImages was not an array'); | |
| } | |
| if (!array_key_exists('shipping_label_gif', $labelImages)) | |
| { | |
| + error_log(__FILE__ . ":" . __LINE__ . " - \$labelImages array did not have a shipping_label_gif key; \$labelImages = " . print_r($labelImages, true)); | |
| throw new Exception('Could not generate labels - $labelImages array did not have a shipping_label_gif key'); | |
| } | |
| if (!array_key_exists('tracking_barcode', $labelImages)) | |
| { | |
| + error_log(__FILE__ . ":" . __LINE__ . " - \$labelImages array did not have a tracking_barcode key; \$labelImages = " . print_r($labelImages, true)); | |
| throw new Exception('Could not generate labels - $labelImages array did not have a tracking_barcode key'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment