mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Fixes term error handling
This commit is contained in:
@@ -217,10 +217,7 @@ export function getPipeStatus(pipeId) {
|
||||
reqwest({
|
||||
method: 'GET',
|
||||
url,
|
||||
error: (err) => {
|
||||
log('ERROR: unexpected response:', err);
|
||||
},
|
||||
success: (res) => {
|
||||
complete: (res) => {
|
||||
const status = {
|
||||
204: 'PIPE_ALIVE',
|
||||
404: 'PIPE_DELETED'
|
||||
|
||||
Reference in New Issue
Block a user