Add missing else block

This commit is contained in:
Alex Holliday committed 2024-09-04 11:45:54 -07:00
1 parent df16bf3db5
commit ffc132e19a
3 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -197,7 +197,6 @@ class NetworkService {
*/
async handlePagespeed(job) {
let isAlive;
try {
const url = job.data.url;
const response = await axios.get(
@@ -297,6 +296,7 @@ class NetworkService {
async logAndStoreCheck(data, writeToDB) {
try {
const insertedCheck = await writeToDB(data);
console.log(insertedCheck);
return insertedCheck.status;
} catch (error) {
console.log(error);