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