Skip to content

Commit

Permalink
removed undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hurngchunlee committed Oct 17, 2024
1 parent 1e86271 commit 3c4ccb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/lib/modalityOPM.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3c4ccb2

Please sign in to comment.