Merge pull request #849 from murgatroid99/native_load_error_improvement

Add some helpful information to the fallback error when loading addon
This commit is contained in:
Michael Lumish 2019-05-02 12:45:34 -07:00 committed by GitHub
commit 045aa10093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
}