Browse Source

Rethrow binding errors

Kevin Sawicki 8 years ago
parent
commit
5d0f3534eb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/common/init.js

+ 2 - 0
lib/common/init.js

@@ -6,6 +6,8 @@ process.atomBinding = function (name) {
   } catch (error) {
     if (/No such module/.test(error.message)) {
       return process.binding('atom_common_' + name)
+    } else {
+      throw error
     }
   }
 }