Better error handling for try-online