Skip to content
Snippets Groups Projects
Commit 51f2588f authored by Sean McGivern's avatar Sean McGivern
Browse files

Warn to console, not flash, when performance bar fails

This isn't interesting most of the time and is may go over other flash banners.
parent 96904b02
No related branches found
No related tags found
No related merge requests found
import Vue from 'vue';
import Flash from '../flash';
import PerformanceBarService from './services/performance_bar_service';
import PerformanceBarStore from './stores/performance_bar_store';
 
Loading
Loading
@@ -46,7 +45,8 @@ export default ({ container }) =>
this.store.addRequestDetails(requestId, res.data.data);
})
.catch(() =>
Flash(`Error getting performance bar results for ${requestId}`),
// eslint-disable-next-line no-console
console.warn(`Error getting performance bar results for ${requestId}`),
);
},
},
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment