# Error capture on user.sendRequest

**URL:** <https://forum.inductiveautomation.com/t/error-capture-on-user-sendrequest/112169>\
**Category:** Ignition\
**Created:** [November 13, 2025, 8:26pm UTC](https://forum.inductiveautomation.com/t/error-capture-on-user-sendrequest/112169 "2025-11-13T20:26:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [November 13, 2025, 8:28pm UTC](https://forum.inductiveautomation.com/t/error-capture-on-user-sendrequest/112169/2 "2025-11-13T20:28:30Z")

</div>

Thats a java error, you need to catch those separately from python errors

add

```python
except java.lang.Throwable as e:
	# handle error here

```

to your `try ... except` block.

> [@Catching a tag write timeout exception](https://forum.inductiveautomation.com/t/catching-a-tag-write-timeout-exception/49813/2):
>
> Generally speaking try/except will only catch python errors. To catch java errors in Ignition, you have to import them, for instance to catch an error that the database throws you would need import java.lang.Exception try: system.db.runUpdateQuery("somequery") except Exception, e: ## catches python errors except java.lang.Exception, e: ## Catches database thrown errors Looking at your stack trace it looks like ultimately you get java.util.concurrent.TimeoutException so that is the exceptio…

---

_[View the full topic](https://forum.inductiveautomation.com/t/error-capture-on-user-sendrequest/112169)._
