2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

Inject parameters into coredevice exception message when mapping.

This commit is contained in:
whitequark 2016-01-10 18:06:28 +00:00
parent ee1ef551bc
commit b669e83554

View File

@ -512,7 +512,7 @@ class CommGeneric:
assert exception.id != 0
python_exn_type = object_map.retrieve(exception.id)
python_exn = python_exn_type(message)
python_exn = python_exn_type(message.format(*params))
python_exn.artiq_exception = exception
raise python_exn