Skip to content

Commit 6436650

Browse files
Jochen DelabieJochen Delabie
authored andcommitted
Fix for tunnel shutting down as soon as output contains 'error'
1 parent 1be0326 commit 6436650

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/tunnel-launcher.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ function run (options, callback) {
118118
if (data.indexOf('error code : 401') > -1) {
119119
activeTunnel.error = 'Invalid credentials. Please supply the correct key/secret obtained from TestingBot.com'
120120
activeTunnel.close()
121-
} else if (data.toLowerCase().indexOf('error') > -1) {
122-
logger(data)
123-
activeTunnel.error = data
124-
activeTunnel.close()
125121
}
126122
})
127123

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "TestingBot <[email protected]> (testingbot.com)",
33
"name": "testingbot-tunnel-launcher",
44
"description": "A wrapper around TestingBot's Tunnel",
5-
"version": "1.1.6",
5+
"version": "1.1.7",
66
"homepage": "https://github.com/testingbot/testingbot-tunnel-launcher",
77
"scripts": {
88
"lint": "eslint .",

0 commit comments

Comments
 (0)