Commit 22861f70 authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #218 from ethereum/display-warnings

Display warnings even if there were no errors
parents ebe8b2e3 498ac727
......@@ -19,7 +19,9 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
$('#output').empty();
if (success) {
self.contracts(data, source);
} else {
}
// NOTE: still need to display as there might be warnings
if (data['error']) {
self.error(data['error']);
}
......@@ -28,7 +30,6 @@ function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVer
self.error(err);
});
}
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment