Make error message a bit more clear

This commit is contained in:
Christopher Gurnee 2022-03-21 15:58:32 +00:00
parent 0abf9222fb
commit 31dc89bf13
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ export const getPost = async threadID => {
try {
return (await fetchJson(`${postURL}${threadID}`)).data[0]
} catch (error) {
errorHandler('Could not get removed post', error, 'pushshift.getPost')
errorHandler('Could not get removed/edited post', error, 'pushshift.getPost')
}
}

View file

@ -95,7 +95,7 @@ const About = props => {
<b className='question'><Link to='/about#psdown'>Q:</Link> Is Unddit/Pushshift down?</b>
<p>
Occasionally, Pushshift (the service used by Unddit) goes offline for a while.
This can result in &ldquo;Could not get removed comments&rdquo; errors on Unddit.
This can result in &ldquo;Could not get removed post/comments&rdquo; errors on Unddit.
To check its status, click <a href='https://api.pushshift.io/reddit/comment/search/?size=1&sort=asc&fields=body&q=*&link_id=t4995r'>this direct link to Pushshift</a>.
You should either get a short message saying that Pushshift is up, or an error.
</p>