Skip to content

Commit

Permalink
Content Node: Turn on no useless catch (#4060)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaylor89 committed Oct 19, 2022
1 parent f31de7b commit 4ca1c54
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion creator-node/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ module.exports = {
'padded-blocks': 'off',
'no-prototype-builtins': 'off', // added by Dheeraj, to remove
'no-async-promise-executor': 'off', // added by Dheeraj, to remove
'no-useless-catch': 'off', // added by Dheeraj, to remove
'prefer-regex-literals': 'off', // added by Dheeraj, to remove
'no-unmodified-loop-condition': 'off', // added by Dheeraj, to remove
'array-callback-return': 'off', // added by Dheeraj, to remove
Expand Down
2 changes: 0 additions & 2 deletions creator-node/src/diskManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,6 @@ class DiskManager {
)
}
return numFilesDeleted
} catch (e) {
throw e
} finally {
await redisClient.del(redisSetKey)
}
Expand Down
2 changes: 0 additions & 2 deletions creator-node/src/routes/tracks.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,6 @@ const validateTrackOwner = async ({
retries: 10
}
})
} catch (e) {
throw e
} finally {
logger.info(`${logPrefix} Completed in ${Date.now() - startMs}ms`)
}
Expand Down

0 comments on commit 4ca1c54

Please sign in to comment.