Skip to content

Commit

Permalink
audit_results: DB_OBJ_DOES_NOT_EXIST not sent to workflows and is a w…
Browse files Browse the repository at this point in the history
…arning in rails logs
  • Loading branch information
ndushay committed Feb 22, 2018
1 parent 379b83f commit 5e784bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/audit_results.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class AuditResults
ACTUAL_VERS_LT_DB_OBJ,
DB_UPDATE_FAILED,
DB_OBJ_ALREADY_EXISTS,
DB_OBJ_DOES_NOT_EXIST,
UNEXPECTED_VERSION,
PC_PO_VERSION_MISMATCH,
MOAB_NOT_FOUND,
Expand All @@ -81,7 +80,7 @@ def self.logger_severity_level(result_code)
when CREATED_NEW_OBJECT then Logger::INFO
when DB_UPDATE_FAILED then Logger::ERROR
when DB_OBJ_ALREADY_EXISTS then Logger::ERROR
when DB_OBJ_DOES_NOT_EXIST then Logger::ERROR
when DB_OBJ_DOES_NOT_EXIST then Logger::WARN
when PC_STATUS_CHANGED then Logger::INFO
when UNEXPECTED_VERSION then Logger::ERROR
when INVALID_MOAB then Logger::ERROR
Expand Down

0 comments on commit 5e784bb

Please sign in to comment.