Fixes term error handling

This commit is contained in:
Simon Howe
2016-03-16 11:33:56 +01:00
parent d9938c80bb
commit 17c8bc2b12

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'