mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Make error message a bit more clear
This commit is contained in:
parent
0abf9222fb
commit
31dc89bf13
2 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 “Could not get removed comments” errors on Unddit.
|
||||
This can result in “Could not get removed post/comments” 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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue