topcoder-platform / legacy-submission-processor

New version of the processor, processing submissions against InformixDB
0 stars 0 forks source link

Prevent joi validation failure resulting in error #3

Closed callmekatootie closed 4 years ago

callmekatootie commented 4 years ago
  1. This app receives a new message, which is a submission creation event
  2. This app updates the submission after some processing
  3. Which in turn, results in a new message, which is a submission update event
  4. The app receives this message too, and since it is missing the url attribute, the joi validation fails which results in the logs indicating an error

Find a way to NOT raise this validation failure as an error but instead as just a debug / info message

callmekatootie commented 4 years ago

Fixed