DiamondLightSource / DiamondLightSource/fastcs

Transports need to handle exceptions from validation errors when calling Attribute.put

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
8
Avg merge
2d 12h
Merged PRs (30d)
3

Description

Currently for EPICS CA and PVA we just get

```
In [1]: mef65357@pc0118.cs.diamond.ac.uk GARYEIGER:ArmTimeout.VAL 3 -> 0
[2026-03-05 13:13:39.735+0000 I] PV put: GARYEIGER:ArmTimeout = 0 [fastcs.transports.epics.ca.ioc] pv=GARYEIGER:ArmTimeout, value=0
[2026-03-05 13:13:39.735+0000 E] Exception when running dispatched callback
```

when [this exception](https://github.com/DiamondLightSource/FastCS/blob/aad1a85fee0039ef2692d493d28ccaacfd382da6/src/fastcs/datatypes/_numeric.py#L24) is raised.

## Acceptance Criteria
- Nice errors are logged when puts are rejected

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.