本帖最后由 kao10324 于 2017-8-15 14:40 编辑
这种错误怎么在框架中消除.还是说这是我自己easys库的错误,而不是框架的,库应该只抛出Message这行的吧将环境设置为:error_reporting(0); ini_set('display_errors', 0);
则页面HTTP ERROR 500
An uncaught Exception was encounteredType: EasyPost\Error Message: The tracking number does not belong to the carrier you specified. Please confirm that both the carrier and tracking number are correct. Filename: D:\phpStudy\WWW\shipdiy\application\libraries\Easys\lib\EasyPost\Requestor.php Line Number: 268 Backtrace: File: D:\phpStudy\WWW\shipdiy\application\libraries\Easys\lib\EasyPost\Requestor.php
Line: 252
Function: handleApiError File: D:\phpStudy\WWW\sd\application\libraries\Easys\lib\EasyPost\Requestor.php
Line: 123
Function: _interpretResponse File: D:\phpStudy\WWW\sd\application\libraries\Easys\lib\EasyPost\EasypostResource.php
Line: 141
Function: request File: D:\phpStudy\WWW\sd\application\libraries\Easys\lib\EasyPost\Tracker.php
Line: 60
Function: _create File: D:\phpStudy\WWW\sd\application\libraries\Easys.php
Line: 133
Function: create File: D:\phpStudy\WWW\sd\application\controllers\Tracking.php
Line: 28
Function: tracking File: D:\phpStudy\WWW\sd\index.php
Line: 316
Function: require_once
|