api test: Print error
This commit is contained in:
parent
bbd67d71b1
commit
1ee5895c44
|
@ -35,7 +35,11 @@ function run_test(name, config, done)
|
|||
console.log("Saving: %s", name);
|
||||
emulator.save_state(function(error, state)
|
||||
{
|
||||
console.assert(!error);
|
||||
if(error)
|
||||
{
|
||||
console.error(error);
|
||||
console.assert(false);
|
||||
}
|
||||
|
||||
setTimeout(function()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue