Skip to content

Commit

Permalink
EPMRPP-96118 || Revert changes for the Show button (#4078)
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian authored Nov 1, 2024
1 parent 767f70c commit 4dbfaf7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/src/controllers/log/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import {
} from 'controllers/log/nestedSteps/actionCreators';
import { createNamespacedQuery } from 'common/utils/routingUtils';
import { FAILED } from 'common/constants/testStatuses';
import { ERROR, FATAL } from 'common/constants/logLevels';
import { ERROR } from 'common/constants/logLevels';
import {
fetchErrorLogs,
clearLogPageStackTrace,
Expand Down Expand Up @@ -130,9 +130,6 @@ function* fetchAllErrorLogs({
excludeLogContent = true,
level,
}) {
const logMessages = yield select(logItemsSelector);
const requiresErrorLogLocation = logMessages.some((log) => [ERROR, FATAL].includes(log.level));

const { id } = logItem;
const { activeProject, query, filterLevel } = yield call(collectLogPayload);
let retryId = null;
Expand All @@ -142,7 +139,7 @@ function* fetchAllErrorLogs({
}
let cancelRequest = () => {};
try {
if (logViewMode === DETAILED_LOG_VIEW && requiresErrorLogLocation) {
if (logViewMode === DETAILED_LOG_VIEW) {
yield put(
fetchDataAction(namespace)(
URLS.errorLogs(activeProject, retryId || id, level || filterLevel),
Expand Down

0 comments on commit 4dbfaf7

Please sign in to comment.