Skip to content

Commit 31b0e37

Browse files
committed
catch errors in import of utils
1 parent 9155228 commit 31b0e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ def sdist(ctx):
155155
@invoke.task
156156
def git_info(ctx):
157157
sys.path.insert(0, os.path.join(APP_ROOT, "nbviewer"))
158-
from utils import git_info, GIT_INFO_JSON
159158
try:
159+
from utils import git_info, GIT_INFO_JSON
160160
info = git_info(APP_ROOT, force_git=True)
161161
except Exception as e:
162162
print("Failed to get git info", e)

0 commit comments

Comments
 (0)