added error handling for relay down

This commit is contained in:
2021-09-30 10:19:41 +01:00
parent 7b741b656f
commit 066612adbd
4 changed files with 50 additions and 16 deletions
+1
View File
@@ -77,6 +77,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
searchResultsObj.status == 502
? {
value: [],
errorCode: searchResultsObj.status,
errorMsg: searchResultsObj.statusText,
}
: searchResultsObj;