We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962ea8e commit a4857a4Copy full SHA for a4857a4
wrapper.js
@@ -207,7 +207,7 @@ function setupMethods (soljson) {
207
var url = 'https://ethereum.github.io/solc-bin/bin/soljson-' + versionString + '.js';
208
https.get(url, function (response) {
209
if (response.statusCode !== 200) {
210
- cb('Error retrieving binary: ' + response.statusMessage);
+ cb(new Error('Error retrieving binary: ' + response.statusMessage));
211
} else {
212
response.pipe(mem);
213
response.on('end', function () {
0 commit comments