Skip to content

Commit

Permalink
EPMRPP-91264 || Add Condition for Fetching Error Log Location in Deta…
Browse files Browse the repository at this point in the history
…iled Log View Mode (#3897)

* EPMRPP-91264 || Add Condition for Fetching Error Log Location in Detailed Log View Mode

* EPMRPP-91264 || Removed console.log Statement
  • Loading branch information
maria-hambardzumian authored Jul 3, 2024
1 parent acdf02f commit 4edb974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/controllers/log/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function* fetchAllErrorLogs({
}
let cancelRequest = () => {};
try {
if (requiresErrorLogLocation) {
if (logViewMode === DETAILED_LOG_VIEW && requiresErrorLogLocation) {
yield put(
fetchDataAction(namespace)(
URLS.errorLogs(activeProject, retryId || id, level || filterLevel),
Expand Down Expand Up @@ -385,6 +385,7 @@ function* fetchLogPageData({ meta = {} }) {
put(fetchTestItemsAction({ offset })),
put(fetchLogPageStackTrace(logItem)),
put(fetchFirstAttachmentsAction()),
put(fetchErrorLogs(logItem)),
call(fetchLogs),
]);
return;
Expand Down

0 comments on commit 4edb974

Please sign in to comment.