Skip to content

Commit 64dbb70

Browse files
committed
fixed local dev issue
1 parent cd47c40 commit 64dbb70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adk/ADK.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ def process_local(self, local_payload, pprint):
132132
def init(self, local_payload=None, pprint=print):
133133
self.load()
134134
if self.is_local and local_payload:
135+
if self.loading_exception:
136+
load_error = self.create_exception(self.loading_exception, loading_exception=True)
137+
self.write_to_pipe(load_error, pprint=pprint)
135138
self.process_local(local_payload, pprint)
136139
else:
137140
for line in sys.stdin:

0 commit comments

Comments
 (0)