esmero / strawberry_runners

A post processing Drupal 8/9 module for Strawberryfield dispatched events
GNU Lesser General Public License v3.0
3 stars 2 forks source link

ISSUE-59 --- Fix fatal error when \Drupal\strawberry_runners\Web64\Nlp\NlpClient::post_call is called with empty params #60

Closed patdunlavey closed 2 years ago

patdunlavey commented 2 years ago

It seems like this is the most solid way to fix this obscure error that only happens if the NLP processor fails to provide a response in get_call, and as a result post_call() is retried with empty params.

patdunlavey commented 2 years ago

Feel free to target this PR to a new branch (0.5.0?) if this branch is frozen.

patdunlavey commented 2 years ago

Thanks @DiegoPino !