Skip to content

Commit

Permalink
test: do not throw on 'Not Supported' (backwards compatible)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutny committed Jan 24, 2018
1 parent 9858aeb commit 50eab8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ let tryAllProxies = async function (exchange, proxies) {
warn ('[Exchange Not Available] ' + e.message.slice (0, 200))
} else if (e instanceof ccxt.NotSupported) {
warn ('[Not Supported] ' + e.message.slice (0, 200))
throw e
return
} else if (e instanceof ccxt.ExchangeError) {
warn ('[Exchange Error] ' + e.message.slice (0, 200))
} else {
Expand Down

0 comments on commit 50eab8b

Please sign in to comment.