Add some helpful information to the fallback error when loading addon

This commit is contained in:
murgatroid99 2019-05-02 11:31:22 -07:00
parent 4e7c9878c7
commit 8f2fac7f70
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ Original error: ${e.message}`;
error.code = e.code;
throw error;
} else {
e.message = `Failed to load ${binding_path}. ${e.message}`;
throw e;
}
}