HomeWolfplex

Send a 500 HTTP response code on Etherpad API issue

Description

Send a 500 HTTP response code on Etherpad API issue

Currently, if the Etherpad API key isn't correct, or if the server
can't be reached, the server returns a HTTP 200 reply, with an empty
array.

This change keeps the empty array reply, but with a 500 HTTP code
to indicate there is currently an issue and so pads can't be fetched.

Details

Provenance
derecksonAuthored on Sep 22 2018, 10:56 PM
Parents
rAPI1292a0e6792e: Fix whitespace issue
Branches
Unknown
Tags
Unknown