File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 21
21
"php" : " ^5.6|7.*" ,
22
22
"php-http/client-implementation" : " ^1.0" ,
23
23
"php-http/client-common" : " ^1" ,
24
- "php-http/discovery" : " ^0.8" ,
25
- "puli/composer-plugin" : " ^1.0@beta" ,
24
+ "php-http/discovery" : " ^1" ,
26
25
"php-http/message" : " ^1.0"
27
26
},
28
27
"require-dev" : {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Swader \Diffbot \Api ;
4
4
5
- use Doctrine \ Instantiator \ Exception \InvalidArgumentException ;
5
+ use \InvalidArgumentException ;
6
6
use Swader \Diffbot \Entity \EntityIterator ;
7
7
use Swader \Diffbot \Entity \JobCrawl ;
8
8
use Swader \Diffbot \Exceptions \DiffbotException ;
@@ -454,7 +454,7 @@ public function call()
454
454
} elseif (!isset ($ array ['jobs ' ]) && isset ($ array ['response ' ])) {
455
455
return $ array ['response ' ];
456
456
} 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? ' );
458
458
}
459
459
}
460
460
You can’t perform that action at this time.
0 commit comments