equal
deleted
inserted
replaced
1123 } |
1123 } |
1124 |
1124 |
1125 // ------------------------------------------------------------------ |
1125 // ------------------------------------------------------------------ |
1126 // ciEnv::record_failure() |
1126 // ciEnv::record_failure() |
1127 void ciEnv::record_failure(const char* reason) { |
1127 void ciEnv::record_failure(const char* reason) { |
1128 if (log() != NULL) { |
|
1129 log()->elem("failure reason='%s'", reason); |
|
1130 } |
|
1131 if (_failure_reason == NULL) { |
1128 if (_failure_reason == NULL) { |
1132 // Record the first failure reason. |
1129 // Record the first failure reason. |
1133 _failure_reason = reason; |
1130 _failure_reason = reason; |
1134 } |
1131 } |
1135 } |
1132 } |