Skip to content

Commit 7d3ed2a

Browse files
authored
Merge pull request #45 from getslash/git-import
Swallow git import exception
2 parents f2384a6 + e4175b8 commit 7d3ed2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

backslash/contrib/slash_plugin.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
import logbook
1414
import requests
1515

16-
import git
16+
try:
17+
import git
18+
except Exception as e: # pylint: disable=broad-except
19+
pass
20+
1721
import slash
1822
from sentinels import NOTHING
1923
from slash import config as slash_config

0 commit comments

Comments
 (0)