OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

fix: Handle api key error

Open goudbor opened this issue 1 year ago • 2 comments

Breaks the task loop on ANY error by propagating error up the stack and returning to caller from coroutine. The generic message "Error during task loop" is printed to chat.

Resolves #483

goudbor avatar Apr 01 '24 08:04 goudbor

@rbren I can check specifically for api key errors and only raise on that condition?

goudbor avatar Apr 01 '24 17:04 goudbor

👍 yeah that sounds like the right solution!

rbren avatar Apr 01 '24 17:04 rbren

👍 let's get this in. Thanks!

rbren avatar Apr 02 '24 02:04 rbren