From 3c4ccb20308c5791002fd676a18d54f24bf0afa6 Mon Sep 17 00:00:00 2001 From: Hurng-Chun Lee Date: Thu, 17 Oct 2024 20:08:25 +0200 Subject: [PATCH] removed undefined variable --- streamer/lib/modalityOPM.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamer/lib/modalityOPM.js b/streamer/lib/modalityOPM.js index 8ec57b3..7a1d65a 100644 --- a/streamer/lib/modalityOPM.js +++ b/streamer/lib/modalityOPM.js @@ -98,7 +98,7 @@ var _execStreamerJob = function(name, config, job, cb_remove, cb_done) { c_stager.get(myurl, rget_args, function(rdata, resp) { if ( resp.statusCode >= 400 ) { var errmsg = 'HTTP error: (' + resp.statusCode + ') ' + resp.statusMessage; - if ( resp.statusCode == 404 && !toCatchall ) { + if ( resp.statusCode == 404 ) { // accept 404 NOT FOUND error if it's not about a catchall collection // it can happen when it's about a PILOT project; or a project not having // a RDM collection being created/mapped properly.