mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 04:15:02 +00:00
Adds error handler
This commit is contained in:
1 parent
f8deebc0c4
commit
fb47b37216
1 file changed
+1
-1
@@ -34,7 +34,7 @@ const main = async () => {
|
||||
};
|
||||
|
||||
if (require.main === module) {
|
||||
main();
|
||||
main().catch(console.error);
|
||||
} else {
|
||||
module.exports = { toHostList, registerDomains };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user