File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2121 "php" : " ^5.6|7.*" ,
2222 "php-http/client-implementation" : " ^1.0" ,
2323 "php-http/client-common" : " ^1" ,
24- "php-http/discovery" : " ^0.8" ,
25- "puli/composer-plugin" : " ^1.0@beta" ,
24+ "php-http/discovery" : " ^1" ,
2625 "php-http/message" : " ^1.0"
2726 },
2827 "require-dev" : {
Original file line number Diff line number Diff line change 22
33namespace Swader \Diffbot \Api ;
44
5- use Doctrine \ Instantiator \ Exception \InvalidArgumentException ;
5+ use \InvalidArgumentException ;
66use Swader \Diffbot \Entity \EntityIterator ;
77use Swader \Diffbot \Entity \JobCrawl ;
88use Swader \Diffbot \Exceptions \DiffbotException ;
@@ -454,7 +454,7 @@ public function call()
454454 } elseif (!isset ($ array ['jobs ' ]) && isset ($ array ['response ' ])) {
455455 return $ array ['response ' ];
456456 } else {
457- throw new DiffbotException ('It appears something went wrong. ' );
457+ throw new DiffbotException ('It appears something went wrong - no data was returned. Did you use the correct token / job name? ' );
458458 }
459459 }
460460
You can’t perform that action at this time.
0 commit comments