Skip to content

Commit 974f317

Browse files
Yuchen XiaoYuchen Xiao
authored andcommitted
chore: raise error instead of message
1 parent a643c14 commit 974f317

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/diffpy/apps/app_agentify.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ def internet_available():
2323

2424
def agentify(args):
2525
if not ensure_setup():
26-
print(
26+
raise ValueError(
2727
"Internet connection or git unavailable. "
2828
"Please ensure git is installed and you have an active internet "
2929
f"connection to {REPO_URL}."
3030
)
31-
return
3231
agent = args.agent
3332
system_flag = args.system
3433
if agent == "claude":

0 commit comments

Comments
 (0)