Skip to content

Commit

Permalink
Merge pull request #284 from ami-iit/flferretti-patch-2
Browse files Browse the repository at this point in the history
Raise error if HTTP request fails
  • Loading branch information
flferretti authored Nov 13, 2024
2 parents 2f942bf + 9ba8c7e commit b054215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jaxsim_for_robot_controllers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"if response.status_code == 200:\n",
" model_urdf_string = response.text\n",
"else:\n",
" logging.error(\"Failed to fetch data\")"
" raise RuntimeError(\"Failed to fetch data.\")"
]
},
{
Expand Down

0 comments on commit b054215

Please sign in to comment.