Commit 22fe1712 authored by TheTechRobo's avatar TheTechRobo
Browse files

Add check for 503 Service Temporarily Unavailable

parent 9cab9b32
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -106,7 +106,11 @@ function finish(vid1) {
                return null;
            }
            if (response.status === 502) {
                dataDiv.innerHTML = `<span style="color: red;">The server is currently down - please wait a minute and try again</spawn>`;
                dataDiv.innerHTML = `<span style="color: red;">The server is currently down - please wait a minute and try again</span>`;
                return null;
            }
			if (response.status == 503) {
				dataDiv.innerHTML = `<span style="color: red;">The YouTube Video finder is currently unavailable. Please check back later. More information might be available by refreshing the page.</span>`
				return null;
			}
            if (response.status !== 200) {