fix: add more information in debug about errors

This commit is contained in:
Jonathan Rainville 2019-06-27 10:11:56 -04:00
parent e79987bc37
commit a9e7ff2dc9
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ function compileSolc(embark, contractFiles, contractDirectories, options, callba
} else {
logger.warn(error.formattedMessage);
}
logger.debug(error.message); // Print more error information in debug
});
if (isError) {
return next(`Error while compiling`);