Merge pull request #1175 from weaveworks/1174-fixes-term-error-handling

Fixes term error handling
This commit is contained in:
Simon
2016-03-16 12:57:39 +01:00

View File

@@ -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'