Fix arrow function syntax in catch handler

This commit is contained in:
nmemmert committed 2025-11-07 10:34:30 -05:00
1 parent 54ed7aaffd
commit 91fb9493cc
1 file changed
+4 -2
+4 -2
View File
@@ -1394,9 +1394,11 @@ def jobs():
}
console.log('[updateJobs] Update complete!');
})
.catch(error => {
.catch(function(error) {
console.error('[updateJobs] Error updating jobs:', error);
console.error('[updateJobs] Error stack:', error.stack);
if (error.stack) {
console.error('[updateJobs] Error stack:', error.stack);
}
});
}